com.ettrema.http.fs
Interface LockManager
- All Known Implementing Classes:
- SimpleLockManager
public interface LockManager
lock
LockResult lock(LockTimeout timeout,
LockInfo lockInfo,
LockableResource resource)
throws NotAuthorizedException
- Throws:
NotAuthorizedException
refresh
LockResult refresh(java.lang.String token,
LockableResource resource)
throws NotAuthorizedException
- Throws:
NotAuthorizedException
unlock
void unlock(java.lang.String tokenId,
LockableResource resource)
throws NotAuthorizedException
- Throws:
NotAuthorizedException
getCurrentToken
LockToken getCurrentToken(LockableResource resource)
Copyright © 2011. All Rights Reserved.