info.aduna.concurrent.locks
Interface Lock

All Known Implementing Classes:
AbstractReadWriteLockManager.ReadDebugLock, AbstractReadWriteLockManager.ReadLock, AbstractReadWriteLockManager.WriteDebugLock, AbstractReadWriteLockManager.WriteLock, ExclusiveLockManager.ExclusiveDebugLock, ExclusiveLockManager.ExclusiveLock

public interface Lock

A lock on a specific monitor that can be used for synchronization purposes.


Method Summary
 boolean isActive()
          Checks whether the lock is still active.
 void release()
          Release the lock, making it inactive.
 

Method Detail

isActive

boolean isActive()
Checks whether the lock is still active.


release

void release()
Release the lock, making it inactive.



Copyright © 2010 Aduna. All Rights Reserved.