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.


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

Method Detail

getLock

public 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.