Class LockManagerImpl

  • All Implemented Interfaces:
    LockManager

    public class LockManagerImpl
    extends java.lang.Object
    implements LockManager
    Simple lock manager implementation that just keeps track of a set of lock tokens and delegates all locking operations back to the Session and Node implementations.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addLockToken​(java.lang.String lockToken)  
      boolean canUnlock​(NodeDelegate node)
      Verifies if the current sessionContext can unlock the specified node
      @NotNull Lock getLock​(java.lang.String absPath)  
      @NotNull java.lang.String[] getLockTokens()  
      boolean holdsLock​(java.lang.String absPath)  
      boolean isLocked​(java.lang.String absPath)  
      @NotNull Lock lock​(java.lang.String absPath, boolean isDeep, boolean isSessionScoped, long timeoutHint, java.lang.String ownerInfo)  
      void removeLockToken​(java.lang.String lockToken)  
      void unlock​(java.lang.String absPath)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait