public interface LockManager
| Modifier and Type | Method and Description |
|---|---|
LockToken |
getCurrentToken(LockableResource resource) |
LockResult |
lock(LockTimeout timeout,
LockInfo lockInfo,
LockableResource resource) |
LockResult |
refresh(String token,
LockableResource resource) |
void |
unlock(String tokenId,
LockableResource resource) |
LockResult lock(LockTimeout timeout, LockInfo lockInfo, LockableResource resource) throws io.milton.http.exceptions.NotAuthorizedException
io.milton.http.exceptions.NotAuthorizedExceptionLockResult refresh(String token, LockableResource resource) throws io.milton.http.exceptions.NotAuthorizedException
io.milton.http.exceptions.NotAuthorizedExceptionvoid unlock(String tokenId, LockableResource resource) throws io.milton.http.exceptions.NotAuthorizedException
io.milton.http.exceptions.NotAuthorizedExceptionLockToken getCurrentToken(LockableResource resource)