Interface ReIndexService
-
- All Known Implementing Classes:
DefaultReIndexService
public interface ReIndexService
Service for reindexing contents in Confluence- Since:
- 8.3.0
-
-
Field Summary
Fields Modifier and Type Field Description static long
REINDEX_CLUSTER_LOCK_ACQUIRE_TIMEOUT_MS
static String
REINDEX_CLUSTER_LOCK_NAME
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
isReIndexing()
boolean
reindex(@NonNull List<String> spaceKeys, @NonNull EnumSet<ReIndexOption> reIndexOptions)
void
resetJobStatus()
-
-
-
Field Detail
-
REINDEX_CLUSTER_LOCK_NAME
static final String REINDEX_CLUSTER_LOCK_NAME
- See Also:
- Constant Field Values
-
REINDEX_CLUSTER_LOCK_ACQUIRE_TIMEOUT_MS
static final long REINDEX_CLUSTER_LOCK_ACQUIRE_TIMEOUT_MS
-
-
Method Detail
-
isReIndexing
boolean isReIndexing()
- Returns:
- false if the last re-indexing job has completed or the re-indexing job has never been run
-
reindex
boolean reindex(@NonNull List<String> spaceKeys, @NonNull EnumSet<ReIndexOption> reIndexOptions) throws InterruptedException
- Throws:
InterruptedException
-
resetJobStatus
void resetJobStatus()
-
-