Package com.atlassian.jira.index
Class DefaultIndex
java.lang.Object
com.atlassian.jira.index.DefaultIndex
- All Implemented Interfaces:
Index,Closeable,Closeable,AutoCloseable
Uses a
DefaultIndex.Engine to perform actual writes to an index.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classIndicate that an operation failed.static classIndicate that an operation completed successfully.Nested classes/interfaces inherited from interface com.atlassian.jira.index.Index
Index.Manager, Index.Operation, Index.Result, Index.UpdateMode -
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoidclose()Closes this stream and releases any system resources associated with it.perform(Index.Operation operation) Perform anIndex.Operationon the index.
-
Method Details
-
perform
Description copied from interface:IndexPerform anIndex.Operationon the index. -
close
public void close()Description copied from interface:CloseableCloses this stream and releases any system resources associated with it. If the stream is already closed then invoking this method has no effect.
-