|
Berkeley DB version 4.3.29 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.sleepycat.db.LockOperation
Operations that can be performed on locks.
Field Summary | |
static LockOperation |
GET
Get the lock defined by the values of the mode and obj fields, for the specified locker. |
static LockOperation |
GET_TIMEOUT
Identical to LockOperation GET except that the value in the timeout field overrides any previously specified timeout value for this lock. |
static LockOperation |
PUT
The lock to which the lock field refers is released. |
static LockOperation |
PUT_ALL
All locks held by the specified locker are released. |
static LockOperation |
PUT_OBJ
All locks held on obj are released. |
static LockOperation |
TIMEOUT
Cause the specified locker to timeout immediately. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final LockOperation GET
Environment.lockVector
, if the lock field is non-null, a reference to the
acquired lock is stored there. (This reference is invalidated by
any call to Environment.lockVector
or Environment.putLock
that releases the lock.)
public static final LockOperation GET_TIMEOUT
public static final LockOperation PUT
public static final LockOperation PUT_ALL
Environment.lockVector
which appear before the PUT_ALL operation are released; those
acquired in operations appearing after the PUT_ALL operation are not
released.
public static final LockOperation PUT_OBJ
Environment.lockVector
that appear before the PUT_OBJ operation operation are released;
those acquired in operations appearing after the PUT_OBJ operation
are not released.
public static final LockOperation TIMEOUT
|
Berkeley DB version 4.3.29 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |