| java.lang.Object org.cougaar.util.LockFlag
LockFlag | public class LockFlag (Code) | | LockFlag class adapted from sample in "Java Threads"
-- Scott Oaks and Henry Wong. O'Reilly, Jan 1997
|
freeBusyFlag | public synchronized boolean freeBusyFlag()(Code) | | true on success. |
getBusyCount | public int getBusyCount()(Code) | | |
getBusyFlag | public synchronized void getBusyFlag()(Code) | | |
getBusyFlagOwner | public synchronized Thread getBusyFlagOwner()(Code) | | |
getDefaultLock | public static LockFlag getDefaultLock()(Code) | | Returns a single VM-scoped LockFlag instance which can
be shared amongst many threads
|
tryGetBusyFlag | public synchronized boolean tryGetBusyFlag()(Code) | | |
|
|