|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.alachisoft.ncache.web.caching.LockAccessType
public final class LockAccessType
Specify the lock access type
Field Summary | |
---|---|
static byte |
ACQUIRE
Indicates that lock is to be acquired |
static byte |
COMPARE_VERSION
Optimistic locking; update the item in the cache only if the version is same |
static byte |
DEFAULT
|
static byte |
DONT_ACQUIRE
Perform the operation only if item is not locked but dont acquire the lock |
static byte |
DONT_RELEASE
Indicates that lock is not to be released |
static byte |
GET_VERSION
Optimistic locking; get the version while getting the object from the cache. |
static byte |
IGNORE_LOCK
Perform the operation as if there is no lock |
static byte |
MATCH_VERSION
|
static byte |
PRESERVE_VERSION
|
static byte |
RELEASE
Indicates that lock is to be released |
Constructor Summary | |
---|---|
LockAccessType()
|
Method Summary | |
---|---|
static java.lang.String |
getAccessType(byte accessType)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final byte ACQUIRE
public static final byte COMPARE_VERSION
public static final byte DEFAULT
public static final byte DONT_ACQUIRE
public static final byte DONT_RELEASE
public static final byte GET_VERSION
public static final byte IGNORE_LOCK
public static final byte MATCH_VERSION
public static final byte PRESERVE_VERSION
public static final byte RELEASE
Constructor Detail |
---|
public LockAccessType()
Method Detail |
---|
public static java.lang.String getAccessType(byte accessType)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |