Package ontopoly
Class LockManager.Lock
java.lang.Object
ontopoly.LockManager.Lock
- All Implemented Interfaces:
Serializable
- Enclosing class:
- LockManager
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanexpired(long expiryTime, long lockTimeSpan) longbooleanvoidsetLockTime(long lockedTime)
-
Constructor Details
-
Lock
-
-
Method Details
-
getLockedBy
-
getLockTime
public long getLockTime() -
setLockTime
public void setLockTime(long lockedTime) -
getLockKey
-
expired
public boolean expired(long expiryTime, long lockTimeSpan) -
ownedBy
-