Class Engine.IndexCommitRef

  • All Implemented Interfaces:
    java.io.Closeable, java.lang.AutoCloseable
    Enclosing class:
    Engine

    public static class Engine.IndexCommitRef
    extends java.lang.Object
    implements java.io.Closeable
    • Constructor Summary

      Constructors 
      Constructor Description
      IndexCommitRef​(org.apache.lucene.index.IndexCommit indexCommit, CheckedRunnable<java.io.IOException> onClose)  
    • Method Summary

      Modifier and Type Method Description
      void close()  
      org.apache.lucene.index.IndexCommit getIndexCommit()  
      • Methods inherited from class java.lang.Object

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

      • IndexCommitRef

        public IndexCommitRef​(org.apache.lucene.index.IndexCommit indexCommit,
                              CheckedRunnable<java.io.IOException> onClose)
    • Method Detail

      • close

        public void close()
                   throws java.io.IOException
        Specified by:
        close in interface java.lang.AutoCloseable
        Specified by:
        close in interface java.io.Closeable
        Throws:
        java.io.IOException
      • getIndexCommit

        public org.apache.lucene.index.IndexCommit getIndexCommit()