Class NoLockFactory

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      private static class  NoLockFactory.NoLock  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private NoLockFactory()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Lock obtainLock​(Directory dir, java.lang.String lockName)
      Return a new obtained Lock instance identified by lockName.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • NoLockFactory

        private NoLockFactory()
    • Method Detail

      • obtainLock

        public Lock obtainLock​(Directory dir,
                               java.lang.String lockName)
        Description copied from class: LockFactory
        Return a new obtained Lock instance identified by lockName.
        Specified by:
        obtainLock in class LockFactory
        lockName - name of the lock to be created.