oracle.javatools.buffer
Interface ReadWriteLockImplementation
public interface ReadWriteLockImplementation
readLock
boolean readLock(boolean block)
readLockInterruptibly
void readLockInterruptibly()
throws java.lang.InterruptedException
- Throws:
java.lang.InterruptedException
readUnlock
void readUnlock()
writeLock
boolean writeLock(boolean block)
writeLockInterruptibly
void writeLockInterruptibly()
throws java.lang.InterruptedException
- Throws:
java.lang.InterruptedException
releaseReaders
int releaseReaders()
restoreReaders
void restoreReaders(int readerCount)
writeUnlock
void writeUnlock()
getReadHoldCount
int getReadHoldCount()
getWriteHoldCount
int getWriteHoldCount()
appendSnapshot
void appendSnapshot(java.lang.StringBuilder buffer)
setEventLog
void setEventLog(Log log)
Copyright © 1997, 2011, Oracle. All rights reserved.