Interface LockManager


public interface LockManager
  • Method Details

    • lock

      LockResult lock(LockTimeout timeout, LockInfo lockInfo, LockableResource resource) throws io.milton.http.exceptions.NotAuthorizedException
      Throws:
      io.milton.http.exceptions.NotAuthorizedException
    • refresh

      LockResult refresh(String token, LockableResource resource) throws io.milton.http.exceptions.NotAuthorizedException
      Throws:
      io.milton.http.exceptions.NotAuthorizedException
    • unlock

      void unlock(String tokenId, LockableResource resource) throws io.milton.http.exceptions.NotAuthorizedException
      Throws:
      io.milton.http.exceptions.NotAuthorizedException
    • getCurrentToken

      LockToken getCurrentToken(LockableResource resource)