GridGain™ 2.0.3
Java API Specification

org.gridgain.grid
Enum GridEventType

java.lang.Object
  extended by java.lang.Enum<GridEventType>
      extended by org.gridgain.grid.GridEventType
All Implemented Interfaces:
Serializable, Comparable<GridEventType>

@Apache20LicenseCompatible
public enum GridEventType
extends Enum<GridEventType>

Types of grid events. Note that these events are stored locally when generated by actions on the local node and can be queried using:





See Also:

  Documentation
  Email Support
  Online Forums
  Issue Tracking

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

 

Enum Constant Summary
CHECKPOINT_LOADED
          Checkpoint was loaded.
CHECKPOINT_REMOVED
          Checkpoint was removed (either timeout expired, or manually removed, or automatically removed by task session).
CHECKPOINT_SAVED
          Checkpoint was saved.
JOB_CANCELLED
          Job got cancelled.
JOB_FAILED
          Job has failed.
JOB_FAILED_OVER
          Job got failed over.
JOB_FINISHED
          Job has successfully completed and produced a result which from the user perspective can still be either negative or positive.
JOB_MAPPED
          Grid job was mapped in GridTask.map(List, Object) method.
JOB_QUEUED
          Job arrived for execution and has been queued (added to passive queue during collision resolution).
JOB_REJECTED
          Job has been rejected.
JOB_RESULTED
          Grid job result was received by GridTask.result(GridJobResult, List) method.
JOB_STARTED
          Job got started.
JOB_TIMED_OUT
          Job timed out.
NODE_FAILED
          Node failed and left topology unexpectedly.
NODE_JOINED
          Node joined topology.
NODE_LEFT
          Node left topology.
SESSION_ATTR_SET
          Session attribute(s) got set.
TASK_DEPLOYED
          Task deployed event.
TASK_FAILED
          Task failed.
TASK_FINISHED
          Task got finished.
TASK_REDUCED
          All split jobs' results were reduced for the task in GridTask.reduce(List) method.
TASK_STARTED
          Task got started.
TASK_TIMED_OUT
          Task timed out.
TASK_UNDEPLOYED
          Task undeployed event.
 
Method Summary
static GridEventType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static GridEventType[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

NODE_JOINED

public static final GridEventType NODE_JOINED
Node joined topology.


NODE_LEFT

public static final GridEventType NODE_LEFT
Node left topology.


NODE_FAILED

public static final GridEventType NODE_FAILED
Node failed and left topology unexpectedly.


CHECKPOINT_SAVED

public static final GridEventType CHECKPOINT_SAVED
Checkpoint was saved.


CHECKPOINT_LOADED

public static final GridEventType CHECKPOINT_LOADED
Checkpoint was loaded.


CHECKPOINT_REMOVED

public static final GridEventType CHECKPOINT_REMOVED
Checkpoint was removed (either timeout expired, or manually removed, or automatically removed by task session).


TASK_STARTED

public static final GridEventType TASK_STARTED
Task got started.


TASK_FINISHED

public static final GridEventType TASK_FINISHED
Task got finished. This event is called every time a task finished without exception.

See Also:
GridEventType.TASK_FAILED

TASK_FAILED

public static final GridEventType TASK_FAILED
Task failed. This event is called every time a task finished with an exception. Note that prior to this event, there could be other events recorded specific to the failure.

See Also:
GridEventType.TASK_FINISHED

TASK_DEPLOYED

public static final GridEventType TASK_DEPLOYED
Task deployed event.


TASK_UNDEPLOYED

public static final GridEventType TASK_UNDEPLOYED
Task undeployed event.


JOB_MAPPED

public static final GridEventType JOB_MAPPED
Grid job was mapped in GridTask.map(List, Object) method.


JOB_RESULTED

public static final GridEventType JOB_RESULTED
Grid job result was received by GridTask.result(GridJobResult, List) method.


TASK_REDUCED

public static final GridEventType TASK_REDUCED
All split jobs' results were reduced for the task in GridTask.reduce(List) method.


JOB_FAILED_OVER

public static final GridEventType JOB_FAILED_OVER
Job got failed over.


JOB_STARTED

public static final GridEventType JOB_STARTED
Job got started.


JOB_FINISHED

public static final GridEventType JOB_FINISHED
Job has successfully completed and produced a result which from the user perspective can still be either negative or positive.


JOB_TIMED_OUT

public static final GridEventType JOB_TIMED_OUT
Job timed out.


JOB_REJECTED

public static final GridEventType JOB_REJECTED
Job has been rejected.


TASK_TIMED_OUT

public static final GridEventType TASK_TIMED_OUT
Task timed out.


JOB_FAILED

public static final GridEventType JOB_FAILED
Job has failed. This means that there was some error event during job execution and job did not produce a result.


JOB_QUEUED

public static final GridEventType JOB_QUEUED
Job arrived for execution and has been queued (added to passive queue during collision resolution).


JOB_CANCELLED

public static final GridEventType JOB_CANCELLED
Job got cancelled.


SESSION_ATTR_SET

public static final GridEventType SESSION_ATTR_SET
Session attribute(s) got set.

Method Detail

values

public static final GridEventType[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(GridEventType c : GridEventType.values())
        System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they're declared

valueOf

public static GridEventType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name

GridGain™ 2.0.3
Java API Specification

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