public class IndexesRebuildTask extends Object
| Constructor and Description |
|---|
IndexesRebuildTask() |
| Modifier and Type | Method and Description |
|---|---|
@Nullable IgniteInternalFuture<?> |
rebuild(GridCacheContext cctx,
boolean force)
Start to rebuild.
|
protected void |
startRebuild(GridCacheContext cctx,
GridFutureAdapter<Void> fut,
SchemaIndexCacheVisitorClosure clo,
SchemaIndexOperationCancellationToken cancel)
Actual start rebuilding.
|
void |
stopRebuild(GridCacheContextInfo cacheInfo,
IgniteLogger log)
Stop rebuilding indexes.
|
@Nullable public @Nullable IgniteInternalFuture<?> rebuild(GridCacheContext cctx, boolean force)
cctx - Cache context.force - Force rebuild indexes.protected void startRebuild(GridCacheContext cctx, GridFutureAdapter<Void> fut, SchemaIndexCacheVisitorClosure clo, SchemaIndexOperationCancellationToken cancel)
cctx - Cache context.fut - Future for rebuild indexes.clo - Closure.cancel - Cancellation token.public void stopRebuild(GridCacheContextInfo cacheInfo, IgniteLogger log)
cacheInfo - Cache context info.log - Logger.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.11.0 Release Date : September 11 2021