Interface ReIndexJobPersister
-
- All Known Implementing Classes:
BandanaReIndexJobPersister
public interface ReIndexJobPersister
Store/retrieveReIndexJob
. There is at most one job to be stored at any time.- Since:
- 7.6.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
clear()
Delete most recent or running re-index job.Optional<ReIndexJob>
get()
void
saveOrUpdate(ReIndexJob reIndexJob)
Save a new or update a running re-index job
-
-
-
Method Detail
-
get
Optional<ReIndexJob> get()
- Returns:
- most recent or running re-index job. Empty if there is neither.
-
saveOrUpdate
void saveOrUpdate(ReIndexJob reIndexJob)
Save a new or update a running re-index job- Parameters:
reIndexJob
- re-index job to be saved/updated
-
clear
void clear()
Delete most recent or running re-index job. No-op if there is neither
-
-