Class FSLockFactory

    • Field Detail

      • lockDir

        protected File lockDir
        Directory for the lock files.
    • Constructor Detail

      • FSLockFactory

        public FSLockFactory()
    • Method Detail

      • setLockDir

        protected final void setLockDir​(File lockDir)
        Set the lock directory. This method can be only called once to initialize the lock directory. It is used by FSDirectory to set the lock directory to itself. Subclasses can also use this method to set the directory in the constructor.
      • getLockDir

        public File getLockDir()
        Retrieve the lock directory.