public abstract class GridCollisionJobContextAdapter extends Object implements CollisionJobContext
CollisionJobContext.| Modifier | Constructor and Description |
|---|---|
protected |
GridCollisionJobContextAdapter(GridJobWorker jobWorker) |
| Modifier and Type | Method and Description |
|---|---|
ComputeJob |
getJob()
Job for this context.
|
ComputeJobContext |
getJobContext()
Gets job context.
|
GridJobWorker |
getJobWorker() |
GridJobSessionImpl |
getTaskSession()
Gets current task session associated with this job.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitactivate, cancelprotected GridCollisionJobContextAdapter(GridJobWorker jobWorker)
jobWorker - Job worker instance.public GridJobSessionImpl getTaskSession()
getTaskSession in interface CollisionJobContextpublic ComputeJobContext getJobContext()
Job context travels with job whenever it gets failed-over to another node, so attributes set on the context on one node will be visible on other nodes this job may potentially end up on.
getJobContext in interface CollisionJobContextpublic GridJobWorker getJobWorker()
public ComputeJob getJob()
getJob in interface CollisionJobContext
Follow @ApacheIgnite
Ignite Fabric : ver. 1.2.0-incubating Release Date : June 16 2015