Package com.atlassian.jira.index
Interface Index
- All Known Implementing Classes:
DefaultIndex
public interface Index
An
Index is where data is stored for fast retrieval. The
Index itself has operations performed on it to
update it. The index is held by a Index.Manager where you can access a
searcher that reflects the latest update that has
completed.
Note: in order to guarantee that an IndexSearcher returned from
Index.Manager.openSearcher() contains a particular Index.Operation
that is performed, the Index.Result must be
waited on.
- Since:
- v4.0
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceManagement of anIndexstatic classAn operation that is performed on an Index.static interfaceThe payload is unimportant.static enum -
Method Summary
Modifier and TypeMethodDescriptionperform(Index.Operation operation) Perform anIndex.Operationon the index.
-
Method Details
-
perform
Perform anIndex.Operationon the index.- Parameters:
operation- the work to do.- Returns:
- a Result object
-