org.jppf.server.protocol
Enum BundleParameter

java.lang.Object
  extended by java.lang.Enum<BundleParameter>
      extended by org.jppf.server.protocol.BundleParameter
All Implemented Interfaces:
Serializable, Comparable<BundleParameter>

public enum BundleParameter
extends Enum<BundleParameter>

Constants used when a client sends an admin command to a server.

Author:
Laurent Cohen

Enum Constant Summary
BUNDLE_TUNING_TYPE_PARAM
          Parameter to determine whether the tasks bundle size is determined manually or automatically.
IS_PEER
          To determine whether a node connection is for a peer driver or an actual execution node.
JOB_EXPIRED
          Job expired indicator, determines whether the job is should be cancelled.
JOB_ID
          The user-defined id of a job.
JOB_METADATA
          Key for the job metadata Map in the JPPFTaskBundle.
JOB_PENDING
          Job pending indicator, determines whether the job is waiting for its scheduled time to start.
JOB_RECEIVED_TIME_MILLIS
          Time at which the job is received on the server side.
JOB_REQUEUE
          Job requeue indicator.
JOB_SLA
          The SLA between job and server.
JOB_UUID
          The unique universal id of a job.
NODE_BROADCAST_UUID
          Uuid of the node to which a broadcast job is dispatched.
NODE_EXCEPTION_PARAM
          Parameter for an eventual exception that prevented the tasks execution in the node.
NODE_MANAGEMENT_HOST_PARAM
          Parameter for the host the RMI registry for the node is running on.
NODE_MANAGEMENT_ID_PARAM
          Parameter for the RMI port used by JMX in the node.
NODE_MANAGEMENT_PORT_PARAM
          Parameter for the RMI port used by JMX in the node.
NODE_SYSTEM_INFO_PARAM
          Parameter for the node's available system information.
NODE_UUID_PARAM
          Parameter for the node's uuid.
 
Method Summary
static BundleParameter valueOf(String name)
          Returns the enum constant of this type with the specified name.
static BundleParameter[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

BUNDLE_TUNING_TYPE_PARAM

public static final BundleParameter BUNDLE_TUNING_TYPE_PARAM
Parameter to determine whether the tasks bundle size is determined manually or automatically.


IS_PEER

public static final BundleParameter IS_PEER
To determine whether a node connection is for a peer driver or an actual execution node.


NODE_EXCEPTION_PARAM

public static final BundleParameter NODE_EXCEPTION_PARAM
Parameter for an eventual exception that prevented the tasks execution in the node.


NODE_MANAGEMENT_HOST_PARAM

public static final BundleParameter NODE_MANAGEMENT_HOST_PARAM
Parameter for the host the RMI registry for the node is running on.


NODE_MANAGEMENT_PORT_PARAM

public static final BundleParameter NODE_MANAGEMENT_PORT_PARAM
Parameter for the RMI port used by JMX in the node.


NODE_MANAGEMENT_ID_PARAM

public static final BundleParameter NODE_MANAGEMENT_ID_PARAM
Parameter for the RMI port used by JMX in the node.


NODE_SYSTEM_INFO_PARAM

public static final BundleParameter NODE_SYSTEM_INFO_PARAM
Parameter for the node's available system information.


NODE_UUID_PARAM

public static final BundleParameter NODE_UUID_PARAM
Parameter for the node's uuid.


JOB_SLA

public static final BundleParameter JOB_SLA
The SLA between job and server.


JOB_ID

public static final BundleParameter JOB_ID
The user-defined id of a job.


JOB_UUID

public static final BundleParameter JOB_UUID
The unique universal id of a job.


JOB_REQUEUE

public static final BundleParameter JOB_REQUEUE
Job requeue indicator.


JOB_PENDING

public static final BundleParameter JOB_PENDING
Job pending indicator, determines whether the job is waiting for its scheduled time to start.


JOB_EXPIRED

public static final BundleParameter JOB_EXPIRED
Job expired indicator, determines whether the job is should be cancelled.


JOB_METADATA

public static final BundleParameter JOB_METADATA
Key for the job metadata Map in the JPPFTaskBundle.


JOB_RECEIVED_TIME_MILLIS

public static final BundleParameter JOB_RECEIVED_TIME_MILLIS
Time at which the job is received on the server side.


NODE_BROADCAST_UUID

public static final BundleParameter NODE_BROADCAST_UUID
Uuid of the node to which a broadcast job is dispatched.

Method Detail

values

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

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

valueOf

public static BundleParameter 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.)

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


Copyright © 2005-2010 JPPF Team.