| |
|
| java.lang.Object com.tc.object.lockmanager.api.LockLevel
LockLevel | public class LockLevel (Code) | | Lock level constants
|
CONCURRENT | final public static int CONCURRENT(Code) | | CONCURRENT bit
|
NIL_LOCK_LEVEL | final public static int NIL_LOCK_LEVEL(Code) | | NOTE: The NIL level isn't a valid lock level. It used to indicate the absence of a defined/valid lock level
|
READ | final public static int READ(Code) | | READ bit
|
SYNCHRONOUS_WRITE | final public static int SYNCHRONOUS_WRITE(Code) | | Combination of WRITE with SYNCHRONOUS flag
|
WRITE | final public static int WRITE(Code) | | WRITE bit
|
isConcurrent | public static boolean isConcurrent(int level)(Code) | | Parameters: level - Level Is lock level CONCURRENT? |
isDiscrete | public static boolean isDiscrete(int lockLevel)(Code) | | Is this a discrete lock level? A lock level which is a combination (like READ+WRITE) is non-discreet
True if discrete |
isGreedy | public static boolean isGreedy(int level)(Code) | | Parameters: level - Level Is lock level GREEDY? |
isRead | public static boolean isRead(int level)(Code) | | Parameters: level - Level Is lock level READ? |
isSynchronous | public static boolean isSynchronous(int level)(Code) | | Parameters: level - Level Is SYNCHRONOUS? |
isSynchronousWrite | public static boolean isSynchronousWrite(int level)(Code) | | Parameters: level - Level Is lock level SYNCHRONOUS_WRITE? |
isWrite | public static boolean isWrite(int level)(Code) | | Parameters: level - Level Is lock level WRITE? |
makeGreedy | public static int makeGreedy(int level)(Code) | | Make lock greedy
Parameters: level - Start Greedy version of level |
makeNotGreedy | public static int makeNotGreedy(int level)(Code) | | Make lock not greedy
Parameters: level - Start Not greedy version of level |
makeNotSynchronous | public static int makeNotSynchronous(int level)(Code) | | Make not synchronous
Parameters: level - Start Not synchronous version of level |
makeSynchronous | public static int makeSynchronous(int level)(Code) | | Make lock synchronous
Parameters: level - Start Synchronous version of level |
toString | public static String toString(int level)(Code) | | Parameters: level - Lock level String representation |
|
|
|