GridGain™ 2.1.0
Java API Specification

org.gridgain.grid
Interface GridJobSibling


@Apache20LicenseCompatible
public interface GridJobSibling

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.



See Also:

  Documentation
  Email Support
  Online Forums
  Issue Tracking

Author:   2005-2008 Copyright © GridGain Systems. All Rights Reserved. ver. 2.1.0

 

Method Summary
 void cancel()
          Sends a request to cancel this sibling.
 UUID getJobId()
          Gets ID of this grid job sibling.
 

Method Detail

getJobId

UUID 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 computation ID.

cancel

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

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

GridGain™ 2.1.0
Java API Specification

GridGain™ - Grid Computing Made Simple, ver. 2.1.0.19122008
2005-2008 Copyright © GridGain Systems. All Rights Reserved.