T - Task argument type.R - Task return value type.public class GridTaskWorker<T,R> extends GridWorker implements GridTimeoutObject
isCancelled| Modifier and Type | Method and Description |
|---|---|
String |
affCacheName() |
int |
affPartId() |
protected void |
body()
Maps this task's jobs to nodes and sends them out.
|
long |
endTime() |
boolean |
equals(Object obj) |
GridTaskSessionImpl |
getSession() |
ComputeTask<T,R> |
getTask() |
int |
hashCode() |
boolean |
isInternal() |
void |
onTimeout()
Timeout callback.
|
void |
setTask(ComputeTask<T,R> task) |
IgniteUuid |
timeoutId() |
String |
toString() |
blockingSectionBegin, blockingSectionEnd, cancel, cleanup, heartbeatTs, igniteInstanceName, isCancelled, isDone, join, name, onIdle, run, runner, updateHeartbeatpublic GridTaskSessionImpl getSession()
public ComputeTask<T,R> getTask()
public void setTask(ComputeTask<T,R> task)
task - Deployed task.public boolean isInternal()
True if task is internal.public IgniteUuid timeoutId()
timeoutId in interface GridTimeoutObjectpublic void onTimeout()
onTimeout in interface GridTimeoutObjectpublic long endTime()
endTime in interface GridTimeoutObjectprotected void body()
body in class GridWorkerpublic String affCacheName()
public int affPartId()
public String toString()
toString in class GridWorker
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.11.1 Release Date : December 20 2021