Package | Description |
---|---|
com.atlassian.jira.index | |
com.atlassian.jira.index.ha |
Modifier and Type | Method and Description |
---|---|
static Index.Operation |
Operations.newCompletionDelegate(Index.Operation operation,
Runnable completionJob)
Create an operation that delegates to another Operation and then runs the supplied
completionJob as soon as the operation is performed (in whatever thread the operation
is performed in).
|
static Index.Operation |
Operations.newConditionalUpdate(org.apache.lucene.index.Term term,
org.apache.lucene.document.Document document,
Index.UpdateMode mode,
String optimisticLockField) |
static Index.Operation |
Operations.newCreate(Collection<org.apache.lucene.document.Document> documents,
Index.UpdateMode mode) |
static Index.Operation |
Operations.newCreate(org.apache.lucene.document.Document document,
Index.UpdateMode mode) |
static Index.Operation |
Operations.newCreateCommitPoint(java.util.function.Consumer<org.apache.lucene.index.IndexCommit> commitConsumer)
Uses
SnapshotDeletionPolicy to create IndexFileDeleter.CommitPoint
and passes it to the commitConsumer . |
static Index.Operation |
Operations.newDelete(org.apache.lucene.index.Term term,
Index.UpdateMode mode) |
static Index.Operation |
Operations.newOptimize() |
static Index.Operation |
Operations.newReleaseCommitPoint(java.util.function.Supplier<org.apache.lucene.index.IndexCommit> commitProvider)
Attempts to use
SnapshotDeletionPolicy to release IndexFileDeleter.CommitPoint
provided by commitProvider . |
static Index.Operation |
Operations.newUpdate(org.apache.lucene.index.Term term,
Collection<org.apache.lucene.document.Document> documents,
Index.UpdateMode mode) |
static Index.Operation |
Operations.newUpdate(org.apache.lucene.index.Term term,
org.apache.lucene.document.Document document,
Index.UpdateMode mode) |
Modifier and Type | Method and Description |
---|---|
static Index.Operation |
Operations.newCompletionDelegate(Index.Operation operation,
Runnable completionJob)
Create an operation that delegates to another Operation and then runs the supplied
completionJob as soon as the operation is performed (in whatever thread the operation
is performed in).
|
Index.Result |
Index.perform(Index.Operation operation)
Perform an
Index.Operation on the index. |
Index.Result |
DefaultIndex.perform(Index.Operation operation) |
void |
DefaultIndexEngine.write(Index.Operation operation) |
Modifier and Type | Method and Description |
---|---|
Index.Operation |
SnapshotDeletionPolicyContributionStrategy.CommitOperationsFactory.newCreateCommitPoint(com.atlassian.jira.index.ha.SnapshotDeletionPolicyContributionStrategy.IndexCommitStore commitStore) |
Index.Operation |
SnapshotDeletionPolicyContributionStrategy.CommitOperationsFactory.newReleaseCommitPoint(com.atlassian.jira.index.ha.SnapshotDeletionPolicyContributionStrategy.IndexCommitStore commitStore) |
Modifier and Type | Method and Description |
---|---|
Index.Result |
IndexPerformAndSubpath.apply(Index.Operation operation) |
Constructor and Description |
---|
IndexPerformAndSubpath(java.util.function.Function<Index.Operation,Index.Result> indexPerform,
Path indexSubpath) |
Copyright © 2002-2021 Atlassian. All Rights Reserved.