Interface ReIndexJobManager
-
- All Known Subinterfaces:
ReIndexJobManagerInternal
- All Known Implementing Classes:
DefaultReIndexJobManager
@Internal public interface ReIndexJobManagerCan be used to retrieve status of running or most recent re-index job. There is up to one re-index job at any time.- Since:
- 7.6.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanacknowledgeRunningJob()Mark most recent or running re-index job as acknowledged.Optional<ReIndexJob>getRunningOrMostRecentReIndex()
-
-
-
Method Detail
-
getRunningOrMostRecentReIndex
Optional<ReIndexJob> getRunningOrMostRecentReIndex()
- Returns:
- most recent or running re-index job. Empty if there is neither.
-
acknowledgeRunningJob
boolean acknowledgeRunningJob() throws InterruptedExceptionMark most recent or running re-index job as acknowledged. No-op if there is neither.- Returns:
- true if most recent/running re-index job has been successfully marked as acknowledged.
- Throws:
InterruptedException- if interrupted when trying to ack the job
-
-