| |
|
| java.lang.Object com.sun.jbi.management.util.ReentrantReadWriteLock
ReentrantReadWriteLock | public class ReentrantReadWriteLock (Code) | | This is a implementation of a tailored subset of java.util.concurrent.locks.ReentrantReadWriteLock for
pre J2SE 5.0 systems. The implemented class/interfaces/methods are compatible at compile time.
author: Sun Microsystems, Inc |
Inner Class :public interface Lock | |
Inner Class :public class ReadLock implements Lock | |
Inner Class :public class WriteLock implements Lock | |
Field Summary | |
final static int | NONE | final static int | READ | final static int | WRITE |
NONE | final static int NONE(Code) | | |
READ | final static int READ(Code) | | |
WRITE | final static int WRITE(Code) | | |
ReentrantReadWriteLock | public ReentrantReadWriteLock()(Code) | | Creates a new instance of RentrantReadWriteLock
|
getReaders | synchronized int getReaders()(Code) | | |
getState | synchronized int getState()(Code) | | |
getWaitingReaders | synchronized int getWaitingReaders()(Code) | | |
getWaitingWriters | synchronized int getWaitingWriters()(Code) | | |
getWriters | synchronized int getWriters()(Code) | | |
isWriteLockedByCurrentThread | public boolean isWriteLockedByCurrentThread()(Code) | | |
readLock | public ReadLock readLock()(Code) | | |
writeLock | public WriteLock writeLock()(Code) | | |
|
|
|