Class LockHolder

java.lang.Object
io.milton.http.annotated.LockHolder

public class LockHolder extends Object
Author:
brad
  • Constructor Details

    • LockHolder

      public LockHolder(UUID id)
  • Method Details

    • getId

      public UUID getId()
      The lock token
      Returns:
    • getName

      public String getName()
      Name of the resource
      Returns:
    • setName

      public void setName(String name)
    • getParentCollectionId

      public String getParentCollectionId()
      Unique ID of the parent collection which contains this. Also used as key in the map
      Returns:
    • setParentCollectionId

      public void setParentCollectionId(String parentCollectionId)
    • getCreatedDate

      public Date getCreatedDate()
      When this was created
      Returns:
    • getLockTimeout

      public LockTimeout getLockTimeout()
      The lock timeout that was used when this was created. Will be used to check for expiry
      Returns:
    • setLockTimeout

      public void setLockTimeout(LockTimeout lockTimeout)
    • getLockInfo

      public LockInfo getLockInfo()
    • setLockInfo

      public void setLockInfo(LockInfo lockInfo)