public interface ResourceLockHolder
ResourceLock
Modifier and Type | Method and Description |
---|---|
ResourceLock |
getLock()
Returns the lock that is hold
|
SessionId |
getSessionId()
Returns sessionId of the lock-holder
|
boolean |
hasLock()
Tells whether this instance contains a lock
|
void |
releaseLock()
Releases the lock on the server
|
void |
setLock(ResourceLock lock)
Sets the lock in this LockHolder instance
|
boolean hasLock()
ResourceLock getLock()
void setLock(ResourceLock lock)
SessionId getSessionId()
void releaseLock() throws NotLockOwnerException
NotLockOwnerException
Copyright © 2014 EsprIT-Systems. All Rights Reserved.