public class SchemaOperationWorker extends GridWorker
isCancelled, log| Constructor and Description |
|---|
SchemaOperationWorker(GridKernalContext ctx,
GridQueryProcessor qryProc,
IgniteUuid depId,
SchemaAbstractOperation op,
boolean nop,
SchemaOperationException err,
boolean cacheRegistered,
QueryTypeDescriptorImpl type)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
body()
The implementation should provide the execution body for this runnable.
|
boolean |
cacheRegistered() |
void |
cancel()
Cancel operation.
|
IgniteInternalFuture |
future() |
boolean |
nop() |
SchemaAbstractOperation |
operation() |
SchemaOperationWorker |
start()
Perform initialization routine.
|
blockingSectionBegin, blockingSectionEnd, cleanup, heartbeatTs, igniteInstanceName, isCancelled, isDone, join, name, onIdle, run, runner, toString, updateHeartbeatpublic SchemaOperationWorker(GridKernalContext ctx, GridQueryProcessor qryProc, IgniteUuid depId, SchemaAbstractOperation op, boolean nop, @Nullable SchemaOperationException err, boolean cacheRegistered, @Nullable QueryTypeDescriptorImpl type)
ctx - Context.qryProc - Query processor.depId - Deployment ID.op - Target operation.nop - No-op flag.err - Predefined error.cacheRegistered - Whether cache is registered in indexing at this point.type - Type descriptor (if available).protected void body()
throws InterruptedException,
IgniteInterruptedCheckedException
body in class GridWorkerInterruptedException - Thrown in case of interruption.IgniteInterruptedCheckedException - If interrupted.public SchemaOperationWorker start()
public boolean nop()
public boolean cacheRegistered()
public void cancel()
cancel in class GridWorkerpublic SchemaAbstractOperation operation()
public IgniteInternalFuture future()
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.7.5 Release Date : June 4 2019