GridGain™ 3.6.0e
Enterprise Edition

org.gridgain.grid
Interface GridJobSibling

All Superinterfaces:
GridMetadataAware, Serializable

public interface GridJobSibling
extends GridMetadataAware

Job sibling interface defines a job from the same split. In other words a sibling is a job returned from the same GridTask.map(List, Object) method invocation.

Wiki & Forum:


Wiki
Forum

 

Method Summary
 void cancel()
          Sends a request to cancel this sibling.
 GridUuid getJobId()
          Gets ID of this grid job sibling.
 
Methods inherited from interface org.gridgain.grid.GridMetadataAware
addMeta, addMetaIfAbsent, addMetaIfAbsent, allMeta, copyMeta, copyMeta, hasMeta, hasMeta, meta, putMetaIfAbsent, putMetaIfAbsent, removeMeta, removeMeta, replaceMeta
 

Method Detail

getJobId

GridUuid getJobId()
Gets ID of this grid job sibling. Note that ID stays constant throughout job life time, even if a job gets failed over to another node.

Returns:
Job ID.

cancel

void cancel()
            throws GridException
Sends a request to cancel this sibling.

Throws:
GridException - If cancellation message could not be sent.

GridGain™ 3.6.0e
Enterprise Edition

GridGain - Real Time Big Data
Enterprise Edition, ver. 3.6.0e.13012012
2012 Copyright © GridGain Systems
Follow us:   Follow GridGain on Github Follow GridGain on Facebook Join GridGain User Group Follow GridGain on Twitter Follow GridGain on YouTube