Package io.milton.http.fs
Class FsMemoryLockManager
java.lang.Object
io.milton.http.fs.FsMemoryLockManager
- All Implemented Interfaces:
LockManager
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlock(LockTimeout timeout, LockInfo lockInfo, LockableResource r) refresh(String tokenId, LockTimeout timeout, LockableResource resource) voidunlock(String tokenId, LockableResource r)
-
Constructor Details
-
FsMemoryLockManager
public FsMemoryLockManager()
-
-
Method Details
-
lock
- Specified by:
lockin interfaceLockManager
-
refresh
- Specified by:
refreshin interfaceLockManager
-
unlock
- Specified by:
unlockin interfaceLockManager- Throws:
NotAuthorizedException
-
getCurrentToken
- Specified by:
getCurrentTokenin interfaceLockManager
-