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