| com.tc.object.config.LockDefinition
All known Subclasses: com.tc.object.config.LockDefinitionImpl,
LockDefinition | public interface LockDefinition (Code) | | Defines a lock. Locks may be either auto locks or named locks. Both types of locks have four locking
levels: WRITE, READ, CONCURRENT, and SYNCHRONOUS_WRITE. Auto locks may also be auto-synchronized. The
locking level and auto-synchronized flag are defined in the ConfigLockLevel.
|
TC_AUTOLOCK_NAME | final public static String TC_AUTOLOCK_NAME(Code) | | Name to use with autolocks: "tc:autolock"
|
commit | public void commit()(Code) | | Commit this definition, after which the definition cannot be changed.
|
getLockLevelAsInt | public int getLockLevelAsInt()(Code) | | Lock level as code defining level See Also: ConfigLockLevel |
isAutolock | public boolean isAutolock()(Code) | | True if auto lock, false if named lock |
setLockName | public void setLockName(String lockName)(Code) | | Parameters: lockName - Lock name |
|
|