Class EventPublishingReindexProgress
- java.lang.Object
-
- com.atlassian.confluence.internal.index.EventPublishingReindexProgress
-
- All Implemented Interfaces:
ReindexProgress
,Progress
,Serializable
public final class EventPublishingReindexProgress extends Object implements Progress, ReindexProgress
- Since:
- 7.14
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description EventPublishingReindexProgress(com.atlassian.event.api.EventPublisher eventPublisher, Progress progress)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getCount()
int
getPercentComplete()
int
getTotal()
int
increment()
int
increment(int delta)
void
reindexBatchFinished()
void
reindexBatchStarted()
void
reindexFinished(List<String> spaceKeys)
void
reindexStageFinished(ReIndexOption option)
void
reindexStageStarted(ReIndexOption option)
void
reindexStarted(EnumSet<ReIndexOption> options, List<String> spaceKeys)
-
-
-
Constructor Detail
-
EventPublishingReindexProgress
public EventPublishingReindexProgress(com.atlassian.event.api.EventPublisher eventPublisher, Progress progress)
-
-
Method Detail
-
reindexStarted
public void reindexStarted(EnumSet<ReIndexOption> options, List<String> spaceKeys)
- Specified by:
reindexStarted
in interfaceReindexProgress
-
reindexStageStarted
public void reindexStageStarted(ReIndexOption option)
- Specified by:
reindexStageStarted
in interfaceReindexProgress
-
reindexStageFinished
public void reindexStageFinished(ReIndexOption option)
- Specified by:
reindexStageFinished
in interfaceReindexProgress
-
reindexFinished
public void reindexFinished(List<String> spaceKeys)
- Specified by:
reindexFinished
in interfaceReindexProgress
-
reindexBatchStarted
public void reindexBatchStarted()
- Specified by:
reindexBatchStarted
in interfaceReindexProgress
-
reindexBatchFinished
public void reindexBatchFinished()
- Specified by:
reindexBatchFinished
in interfaceReindexProgress
-
getPercentComplete
public int getPercentComplete()
- Specified by:
getPercentComplete
in interfaceProgress
-
-