public interface ReadWriteLockImplementation
Modifier and Type | Method and Description |
---|---|
void |
appendSnapshot(java.lang.StringBuilder buffer) |
int |
getReadHoldCount() |
int |
getWriteHoldCount() |
boolean |
readLock(boolean block) |
void |
readLockInterruptibly() |
void |
readUnlock() |
int |
releaseReaders() |
void |
restoreReaders(int readerCount) |
void |
setEventLog(Log log) |
boolean |
writeLock(boolean block) |
void |
writeLockInterruptibly() |
void |
writeUnlock() |
boolean readLock(boolean block)
void readLockInterruptibly() throws java.lang.InterruptedException
java.lang.InterruptedException
void readUnlock()
boolean writeLock(boolean block)
void writeLockInterruptibly() throws java.lang.InterruptedException
java.lang.InterruptedException
int releaseReaders()
void restoreReaders(int readerCount)
void writeUnlock()
int getReadHoldCount()
int getWriteHoldCount()
void appendSnapshot(java.lang.StringBuilder buffer)
void setEventLog(Log log)