Class ReIndexJob
- java.lang.Object
-
- com.atlassian.confluence.index.status.ReIndexJob
-
- All Implemented Interfaces:
Serializable
public class ReIndexJob extends Object implements Serializable
Hold data about a re-index in Confluence- Since:
- 7.6.0
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ReIndexJob.Progress
Simple class to hold progress of either rebuilding index or index propagation
-
Constructor Summary
Constructors Constructor Description ReIndexJob()
ReIndexJob(Instant startTime, long totalCount)
ReIndexJob(Instant startTime, long totalCount, List<String> spaceKeys)
ReIndexJob(List<String> spaceKeys)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConfluenceUser
getCreatedBy()
Duration
getDuration()
@Nullable Instant
getFinishTime()
String
getId()
Instant
getLastRebuildingUpdate()
Collection<ReIndexNodeStatus>
getNodeStatuses()
@Nullable ReIndexJob.Progress
getPropagatingProgress()
ReIndexJob.Progress
getRebuildingProgress()
List<String>
getSpaceKeys()
ReIndexStage
getStage()
Instant
getStartTime()
boolean
isAcknowledged()
boolean
isComplete()
boolean
isFailed()
boolean
isSiteReindex()
void
setAcknowledged(boolean acknowledged)
void
setCreatedBy(ConfluenceUser createdBy)
void
setFinishTime(Instant finishTime)
void
setLastRebuildingUpdate(Instant lastRebuildingUpdate)
void
setNodeStatuses(Collection<ReIndexNodeStatus> nodeStatuses)
void
setPropagatingProgress(ReIndexJob.Progress propagatingProgress)
void
setRebuildingProgress(ReIndexJob.Progress rebuildingProgress)
void
setStage(ReIndexStage stage)
void
setStartTime(Instant startTime)
-
-
-
Method Detail
-
getStartTime
public Instant getStartTime()
-
setStartTime
public void setStartTime(Instant startTime)
-
getFinishTime
public @Nullable Instant getFinishTime()
-
setFinishTime
public void setFinishTime(Instant finishTime)
-
getStage
public ReIndexStage getStage()
-
setStage
public void setStage(ReIndexStage stage)
-
isAcknowledged
public boolean isAcknowledged()
-
setAcknowledged
public void setAcknowledged(boolean acknowledged)
-
getRebuildingProgress
public ReIndexJob.Progress getRebuildingProgress()
-
setRebuildingProgress
public void setRebuildingProgress(ReIndexJob.Progress rebuildingProgress)
-
getPropagatingProgress
public @Nullable ReIndexJob.Progress getPropagatingProgress()
-
setPropagatingProgress
public void setPropagatingProgress(ReIndexJob.Progress propagatingProgress)
-
getNodeStatuses
public Collection<ReIndexNodeStatus> getNodeStatuses()
-
setNodeStatuses
public void setNodeStatuses(Collection<ReIndexNodeStatus> nodeStatuses)
-
getLastRebuildingUpdate
public Instant getLastRebuildingUpdate()
-
setLastRebuildingUpdate
public void setLastRebuildingUpdate(Instant lastRebuildingUpdate)
-
getId
public String getId()
-
getCreatedBy
public ConfluenceUser getCreatedBy()
-
setCreatedBy
public void setCreatedBy(ConfluenceUser createdBy)
-
getDuration
public Duration getDuration()
-
isSiteReindex
public boolean isSiteReindex()
- Since:
- 8.3.0
-
isComplete
public boolean isComplete()
-
isFailed
public boolean isFailed()
-
-