public class SchemaIndexCachePartitionWorker extends GridWorker
| Modifier and Type | Field and Description |
|---|---|
static int |
DFLT_IGNITE_INDEX_REBUILD_BATCH_SIZE
Default count of rows, being processed within a single checkpoint lock.
|
isCancelled, log| Constructor and Description |
|---|
SchemaIndexCachePartitionWorker(GridCacheContext cctx,
GridDhtLocalPartition locPart,
AtomicBoolean stop,
IndexRebuildCancelToken cancelTok,
SchemaIndexCacheVisitorClosure clo,
GridFutureAdapter<SchemaIndexCacheStat> fut,
AtomicInteger partsCnt)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
body()
The implementation should provide the execution body for this runnable.
|
String |
toString() |
blockingSectionBegin, blockingSectionEnd, cancel, cleanup, heartbeatTs, igniteInstanceName, isCancelled, isDone, join, name, onCancel, onCancelledBeforeWorkerScheduled, onIdle, run, runner, updateHeartbeatpublic static final int DFLT_IGNITE_INDEX_REBUILD_BATCH_SIZE
public SchemaIndexCachePartitionWorker(GridCacheContext cctx, GridDhtLocalPartition locPart, AtomicBoolean stop, IndexRebuildCancelToken cancelTok, SchemaIndexCacheVisitorClosure clo, GridFutureAdapter<SchemaIndexCacheStat> fut, AtomicInteger partsCnt)
cctx - Cache context.locPart - Partition.stop - Stop flag between all workers for one cache.cancelTok - Cancellation token between all workers for all caches.clo - Index closure.fut - Worker future.partsCnt - Count of partitions to be processed.protected void body()
throws InterruptedException,
IgniteInterruptedCheckedException
body in class GridWorkerInterruptedException - Thrown in case of interruption.IgniteInterruptedCheckedException - If interrupted.public String toString()
toString in class GridWorker
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.15.0 Release Date : April 25 2023