Package org.apache.ignite.compute
Interface ComputeJobSibling
-
public interface ComputeJobSiblingJob sibling interface defines a job from the same split. In other words a sibling is a job returned from the sameComputeTask.map(List, Object)method invocation.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidcancel()Sends a request to cancel this sibling.IgniteUuidgetJobId()Gets ID of this grid job sibling.
-
-
-
Method Detail
-
getJobId
IgniteUuid getJobId()
Gets ID of this grid job sibling. Note that ID stays constant throughout job life time, even if a job gets failed over to another node.- Returns:
- Job ID.
-
cancel
void cancel() throws IgniteExceptionSends a request to cancel this sibling.- Throws:
IgniteException- If cancellation message could not be sent.
-
-