ilog.mt
Interface IlLockProxy


public interface IlLockProxy

Interface to be implemented by objects that delegates the synchronization. This interface can be implemented by objects passed as the lock parameter of the IlSynchronizationStrategy.synchronizeRun(Runnable,Object) method. When a synchronization strategy receives an object implementing this interface, it uses the object returned by the getLock() method instead of the current object to synchronize on.

Since:
JTGO 3.0

Method Summary
 Object getLock()
          Returns the object to use to synchronize on instead on the current one
 

Method Detail

getLock

Object getLock()
Returns the object to use to synchronize on instead on the current one

Returns:
an object to be use in a synchronized statement.


Copyright © 1996-2007 ILOG S.A. All rights reserved.   Documentation homepage.   . All Rights Reserved.