Package org.elasticsearch.index.engine
Class Engine.IndexCommitRef
java.lang.Object
org.elasticsearch.index.engine.Engine.IndexCommitRef
- All Implemented Interfaces:
Closeable
,AutoCloseable
- Enclosing class:
- Engine
-
Constructor Summary
ConstructorDescriptionIndexCommitRef(org.apache.lucene.index.IndexCommit indexCommit, org.elasticsearch.core.CheckedRunnable<IOException> onClose)
-
Method Summary
-
Constructor Details
-
IndexCommitRef
public IndexCommitRef(org.apache.lucene.index.IndexCommit indexCommit, org.elasticsearch.core.CheckedRunnable<IOException> onClose)
-
-
Method Details
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Throws:
IOException
-
getIndexCommit
public org.apache.lucene.index.IndexCommit getIndexCommit()
-