Class FDBDirectoryLockFactory.FDBDirectoryLock

java.lang.Object
org.apache.lucene.store.Lock
com.apple.foundationdb.record.lucene.directory.FDBDirectoryLockFactory.FDBDirectoryLock
All Implemented Interfaces:
Closeable, AutoCloseable
Enclosing class:
FDBDirectoryLockFactory

protected static class FDBDirectoryLockFactory.FDBDirectoryLock extends org.apache.lucene.store.Lock
  • Method Details

    • ensureValid

      public void ensureValid() throws IOException
      Specified by:
      ensureValid in class org.apache.lucene.store.Lock
      Throws:
      IOException
    • fileLockSet

      public void fileLockSet(boolean isHeartbeat)
    • fileLockClearIfLocked

      protected void fileLockClearIfLocked()
    • close

      public void close() throws IOException
      Specified by:
      close in interface AutoCloseable
      Specified by:
      close in interface Closeable
      Specified by:
      close in class org.apache.lucene.store.Lock
      Throws:
      IOException
    • toString

      public String toString()
      Overrides:
      toString in class Object