public abstract class GridCollisionJobContextAdapter extends Object implements GridCollisionJobContext
GridCollisionJobContext.| Modifier | Constructor and Description |
|---|---|
protected |
GridCollisionJobContextAdapter(GridJobWorker jobWorker) |
| Modifier and Type | Method and Description |
|---|---|
GridComputeJob |
getJob()
Job for this context.
|
GridComputeJobContext |
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 GridCollisionJobContextpublic GridComputeJobContext 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 GridCollisionJobContextpublic GridJobWorker getJobWorker()
public GridComputeJob getJob()
getJob in interface GridCollisionJobContextCopyright © 2014. All rights reserved.