Method Summary |
|
public void | convert(int newType) Attempts to change the lockType of this lock to
newType . |
public void | convert(int newType, int newDuration) Attempts to change the lockType of this lock to
newType . |
public String | getEntityKey() |
public Class | getEntityType() See Also: org.jasig.portal.EntityTypes See Also: for known types. |
public Date | getExpirationTime() |
public String | getLockOwner() |
public int | getLockType() See IEntityLockingService for a description of lock types. |
public boolean | isValid() Answers if this lock is still good. |
public void | release() Invalidate the lock. |
public void | renew() Extends the expiration time of this lock for a service-defined period. |
public void | renew(int duration) Extends the expiration time of this lock for duration seconds. |