|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.jira.index.ha.DefaultReplicatedIndexManager
public class DefaultReplicatedIndexManager
Manages the replicated index.
Constructor Summary | |
---|---|
DefaultReplicatedIndexManager(OfBizReplicatedIndexOperationStore ofBizReplicatedIndexOperationStore,
TaskManager taskManager)
|
Method Summary | |
---|---|
void |
deIndexIssues(Set<Issue> issuesToDelete)
Removes the issues from the replicated index. |
void |
deIndexSharedEntity(SharedEntity entity)
Deindexes the shared entity in the replicated index. |
void |
indexSharedEntity(SharedEntity entity)
Reindexes the shared entity in the replicated index. |
void |
onReindexAllCompleted(ReindexAllCompletedEvent reindexAllCompletedEvent)
|
void |
onReindexAllStarted(ReindexAllStartedEvent reindexAllStartedEvent)
|
void |
reindexComments(Collection<Comment> comments)
Reindexes the set of provided issues in the repliccated index. |
void |
reindexIssues(IssuesIterable issuesIterable)
Reindexes the set of provided issues in the repliccated index. |
void |
reindexProject(Project project)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultReplicatedIndexManager(OfBizReplicatedIndexOperationStore ofBizReplicatedIndexOperationStore, TaskManager taskManager)
Method Detail |
---|
public void reindexIssues(@Nonnull IssuesIterable issuesIterable)
reindexIssues
in interface ReplicatedIndexManager
issuesIterable
- an that iterates obver the issues to be reindexedpublic void reindexComments(Collection<Comment> comments)
reindexComments
in interface ReplicatedIndexManager
comments
- A collection of to reindexpublic void deIndexIssues(Set<Issue> issuesToDelete)
deIndexIssues
in interface ReplicatedIndexManager
issuesToDelete
- the s to mark as deleted.public void reindexProject(Project project)
reindexProject
in interface ReplicatedIndexManager
public void indexSharedEntity(SharedEntity entity)
indexSharedEntity
in interface ReplicatedIndexManager
entity
- the to be reindexedpublic void deIndexSharedEntity(SharedEntity entity)
deIndexSharedEntity
in interface ReplicatedIndexManager
entity
- the to be removed@EventListener public void onReindexAllStarted(ReindexAllStartedEvent reindexAllStartedEvent)
@EventListener public void onReindexAllCompleted(ReindexAllCompletedEvent reindexAllCompletedEvent)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |