|
GridGain 2.1.0
Java API Specification |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
@Apache20LicenseCompatible public interface GridCollisionJobContext
This interface defines set of operations that collision SPI implementation can perform on
jobs that are either waiting or executing.
See Also:
Documentation
Email Support
Online Forums
Issue Tracking
Author: 2005-2008 Copyright © GridGain Systems. All Rights Reserved. ver. 2.1.0

| Method Summary | |
|---|---|
boolean |
activate()
Activates the job. |
boolean |
cancel()
Cancels the job. |
GridJob |
getJob()
Job for this context. |
GridJobContext |
getJobContext()
Gets job context. |
UUID |
getJobId()
Deprecated. |
GridTaskSession |
getTaskSession()
Gets current task session associated with this job. |
| Method Detail |
|---|
GridTaskSession getTaskSession()
GridJobContext 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.
GridJob getJob()
@Deprecated UUID getJobId()
GridCollisionJobContext.getJobContext()
which provides job attributes in addition to job ID.
boolean activate()
boolean cancel()
GridJob.cancel() will
be called on the job. If job was in wait state, then it will be rejected
prior to execution and GridJob.cancel() will not be called.
Collision resolution is handled concurrently, so it may be possible that other threads already activated or cancelled/rejected this job. This method will return true if it was able to cancel/reject the job and false otherwise.
|
GridGain 2.1.0
Java API Specification |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
|
GridGain - Grid Computing Made Simple, ver. 2.1.0.19122008
2005-2008 Copyright © GridGain Systems. All Rights Reserved. |
|
|