com.ideanest.util
Interface CheckableReadWriteLock

All Superinterfaces:
edu.oswego.cs.dl.util.concurrent.ReadWriteLock
All Known Implementing Classes:
CheckableReentrantWriterPreferenceReadWriteLock

public interface CheckableReadWriteLock
extends edu.oswego.cs.dl.util.concurrent.ReadWriteLock

A read write lock that can be checked to see if it's been acquired by the current thread.


Method Summary
 boolean isReadAcquired()
          Return whether the current thread has acquired the read lock.
 boolean isWriteAcquired()
          Return whether the current thread has acquired the write lock.
 
Methods inherited from interface edu.oswego.cs.dl.util.concurrent.ReadWriteLock
readLock, writeLock
 

Method Detail

isReadAcquired

public boolean isReadAcquired()
Return whether the current thread has acquired the read lock.


isWriteAcquired

public boolean isWriteAcquired()
Return whether the current thread has acquired the write lock.