public class LOCK_MODE
extends java.lang.Object
CTBase.Lock(int)
callModifier and Type | Field and Description |
---|---|
static int |
FREE
Free all locks.
|
static int |
READ
Non-blocking read locks.
|
static int |
READ_BLOCK
Blocking read lock.
|
static int |
RESET
equivalent to calling Lock with
LOCK_MODE.FREE followed by Lock() with LOCK_MODE.WRITE.
|
static int |
RESTORE_READ
To be used after a call to Lock with the CTLOCK_SUSPEND mode.
|
static int |
RESTORE_READ_BLOCK
To be used after a call to Lock with the CTLOCK_SUSPEND mode.
|
static int |
RESTORE_WRITE
To be used after a call to Lock with the CTLOCK_SUSPEND mode.
|
static int |
RESTORE_WRITE_BLOCK
To be used after a call to Lock with the CTLOCK_SUSPEND mode.
|
static int |
SUSPEND
Temporarily suspend locking.
|
static int |
WRITE
Non-blocking write lock.
|
static int |
WRITE_BLOCK
Blocking write lock.
|
Constructor and Description |
---|
LOCK_MODE() |
public static final int FREE
public static final int READ
public static final int READ_BLOCK
public static final int WRITE
public static final int WRITE_BLOCK
public static final int RESET
public static final int SUSPEND
public static final int RESTORE_READ
public static final int RESTORE_READ_BLOCK
public static final int RESTORE_WRITE
public static final int RESTORE_WRITE_BLOCK