Package hec.lang
Interface LockableObject
- All Superinterfaces:
Modifiable
-
Method Summary
Methods inherited from interface rma.lang.Modifiable
isModified, setModified
-
Method Details
-
setLocked
boolean setLocked(int lockType) lock or unlock this object- Parameters:
lockType
- = FileLock.NO_LOCK (to unlock), FileLock.READ_LOCK or FileLock.WRITE_LOCK- See Also:
-
hasLock
int hasLock()see if this object has it's lock.- Returns:
- FileLock.NO_LOCK, FileLock.READ_LOCK, FileLock.WRITE_LOCK
-