public class ReIndexJobHelper extends Object
Constructor and Description |
---|
ReIndexJobHelper(@NonNull com.atlassian.confluence.test.rest.api.ConfluenceRestClient restClient) |
Modifier and Type | Method and Description |
---|---|
boolean |
isReindexImprovementsEnabled()
Will tell you if the reindex improvements are enabled and thus if the bandana store for the ReIndexJobJson
is available to query for the status.
|
void |
waitForPossibleReindex(@NonNull ConfluenceRpc rpc,
@NonNull TimePeriod period,
@Nullable Runnable runnable)
Waits for a possible rebuild of the index.
|
public ReIndexJobHelper(@NonNull com.atlassian.confluence.test.rest.api.ConfluenceRestClient restClient)
public boolean isReindexImprovementsEnabled()
public void waitForPossibleReindex(@NonNull ConfluenceRpc rpc, @NonNull TimePeriod period, @Nullable Runnable runnable)
rpc
- ConfluenceRpc needed for the EventWaitingLatchperiod
- TimePeriod before this method throws an exceptionrunnable
- Runnable optional task to perform that may cause reindexingCopyright © 2003–2023 Atlassian. All rights reserved.
View cookie preferences