public interface ReIndexJobManagerInternal extends ReIndexJobManager
| Modifier and Type | Field and Description |
|---|---|
static String |
REINDEX_IMPROVEMENT_DARKFEATURE_KEY |
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Delete most recent or running re-index job.
|
void |
updateReIndexJobIfPresent(Consumer<ReIndexJob> updater)
Try to update current re-index job in an atomic operation.
|
acknowledgeRunningJob, getRunningOrMostRecentReIndexstatic final String REINDEX_IMPROVEMENT_DARKFEATURE_KEY
void updateReIndexJobIfPresent(Consumer<ReIndexJob> updater) throws InterruptedException, TimeoutException
ReIndexJob, if not found then skip 2 and 3.
2. Mutate the running reIndexJob using the provided updater.
3. Persist the updated reIndexJob.updater - a callback to mutate running ReIndexJobInterruptedException - if interrupted while waiting to update the jobTimeoutException - if cannot obtain exclusive access in order to update the job within reasonable timevoid clear()
Copyright © 2003–2021 Atlassian. All rights reserved.