public interface LockableObject
extends rma.lang.Modifiable
| Modifier and Type | Method and Description |
|---|---|
int |
hasLock()
see if this object has it's lock.
|
boolean |
setLocked(int lockType)
lock or unlock this object
|
boolean setLocked(int lockType)
lockType - = FileLock.NO_LOCK (to unlock), FileLock.READ_LOCK or FileLock.WRITE_LOCKFileLockint hasLock()