Package ontopoly

Class LockManager.Lock

java.lang.Object
ontopoly.LockManager.Lock
All Implemented Interfaces:
Serializable
Enclosing class:
LockManager

public static class LockManager.Lock extends Object implements Serializable
See Also:
  • Constructor Details

  • Method Details

    • getLockedBy

      public String getLockedBy()
    • getLockTime

      public long getLockTime()
    • setLockTime

      public void setLockTime(long lockedTime)
    • getLockKey

      public String getLockKey()
    • expired

      public boolean expired(long expiryTime, long lockTimeSpan)
    • ownedBy

      public boolean ownedBy(String ownerId)