public class GridJobSiblingImpl extends Object implements ComputeJobSibling, Externalizable
| Constructor and Description |
|---|
GridJobSiblingImpl() |
GridJobSiblingImpl(IgniteUuid sesId,
IgniteUuid jobId,
UUID nodeId,
GridKernalContext ctx) |
| Modifier and Type | Method and Description |
|---|---|
void |
cancel()
Sends a request to cancel this sibling.
|
IgniteUuid |
getJobId()
Gets ID of this grid job sibling.
|
boolean |
isJobDone() |
Object |
jobTopic() |
UUID |
nodeId() |
void |
nodeId(UUID nodeId) |
void |
onJobDone() |
void |
readExternal(ObjectInput in) |
Object |
taskTopic() |
String |
toString() |
void |
writeExternal(ObjectOutput out) |
public GridJobSiblingImpl()
public GridJobSiblingImpl(IgniteUuid sesId, IgniteUuid jobId, UUID nodeId, GridKernalContext ctx)
sesId - Task session ID.jobId - Job ID.nodeId - ID of the node where this sibling was sent for execution.ctx - Managers registry.public IgniteUuid getJobId()
getJobId in interface ComputeJobSiblingpublic UUID nodeId()
public void nodeId(UUID nodeId)
nodeId - Node where this sibling is executing.public boolean isJobDone()
True if job has finished.public void onJobDone()
public Object taskTopic()
public Object jobTopic()
public void cancel()
cancel in interface ComputeJobSiblingpublic void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizableIOExceptionpublic void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizableIOExceptionClassNotFoundException
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.15.0 Release Date : April 25 2023