ontopoly
Class LockManager.Lock
java.lang.Object
ontopoly.LockManager.Lock
- All Implemented Interfaces:
- java.io.Serializable
- Enclosing class:
- LockManager
public static class LockManager.Lock
- extends java.lang.Object
- implements java.io.Serializable
- See Also:
- Serialized Form
Constructor Summary |
LockManager.Lock(java.lang.String lockedBy,
java.lang.String lockKey)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LockManager.Lock
public LockManager.Lock(java.lang.String lockedBy,
java.lang.String lockKey)
getLockedBy
public java.lang.String getLockedBy()
getLockTime
public long getLockTime()
setLockTime
public void setLockTime(long lockedTime)
getLockKey
public java.lang.String getLockKey()
expired
public boolean expired(long expiryTime,
long lockTimeSpan)
ownedBy
public boolean ownedBy(java.lang.String ownerId)
Copyright © 2000-2012 Ontopia.