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:
truewhen the job was cancelled.
-
partition
Partition associated with this job. Not anullonly 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.
-
deploymentUnits
Collection<DeploymentUnitInfo> deploymentUnits()Collection of deployment units associated with this job execution.- Returns:
- Collection of deployment units for this job execution.
-