public interface LockableResource extends Resource
| Modifier and Type | Method and Description |
|---|---|
LockToken |
lock(LockTimeout timeout,
LockInfo lockInfo)
Lock this resource and return a token
|
LockToken |
refreshLock(String token)
Renew the lock and return new lock info
|
void |
unlock(String tokenId) |
authenticate, authorise, checkRedirect, getModifiedDate, getName, getRealm, getUniqueIdcompareToLockToken lock(LockTimeout timeout, LockInfo lockInfo)
timeout - - in seconds, or nulllockInfo - LockToken refreshLock(String token)
token - void unlock(String tokenId)
Copyright © 2020. All rights reserved.