Package io.milton.http.annotated
Class LockHolder
java.lang.Object
io.milton.http.annotated.LockHolder
- Author:
- brad
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionWhen this was createdgetId()The lock tokenThe lock timeout that was used when this was created.getName()Name of the resourceUnique ID of the parent collection which contains this.voidsetLockInfo(LockInfo lockInfo) voidsetLockTimeout(LockTimeout lockTimeout) voidvoidsetParentCollectionId(String parentCollectionId)
-
Constructor Details
-
LockHolder
-
-
Method Details
-
getId
The lock token- Returns:
-
getName
Name of the resource- Returns:
-
setName
-
getParentCollectionId
Unique ID of the parent collection which contains this. Also used as key in the map- Returns:
-
setParentCollectionId
-
getCreatedDate
When this was created- Returns:
-
getLockTimeout
The lock timeout that was used when this was created. Will be used to check for expiry- Returns:
-
setLockTimeout
-
getLockInfo
-
setLockInfo
-