Package org.apache.ignite.compute
Interface JobExecutionContext
public interface JobExecutionContext
Context of the
ComputeJob
execution.-
Method Details
-
ignite
Ignite ignite()Ignite API entry point.- Returns:
- Ignite instance.
-
isCancelled
boolean isCancelled()Flag indicating whether the job was cancelled.- Returns:
true
when the job was cancelled.
-
partition
Partition associated with this job. Not anull
only whenBroadcastJobTarget.table(String)
target is used for submitting jobs. In this case, the partition is local on a node executing the job.- Returns:
- Partition associated with this job.
-