EDU.oswego.cs.dl.util.concurrent

Interface ObservableSync.SyncObserver

public interface ObservableSync.SyncObserver

Interface for objects that observe ObservableSyncs.
Method Summary
voidonAcquire(Object arg)
Method called upon acquire or successful attempt of Sync
voidonRelease(Object arg)
Method called upon release of Sync.

Method Detail

onAcquire

public void onAcquire(Object arg)
Method called upon acquire or successful attempt of Sync

onRelease

public void onRelease(Object arg)
Method called upon release of Sync.