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 ComputeJobSibling
public 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 ComputeJobSibling
public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
IOException
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
IOException
ClassNotFoundException
Follow @ApacheIgnite
Ignite Fabric : ver. 2.0.0 Release Date : April 30 2017