Package org.jppf.node.protocol
Enum Class BundleParameter
- All Implemented Interfaces:
Serializable,Comparable<BundleParameter>,Constable
Constants used when a client sends an admin command to a server.
- Author:
- Laurent Cohen
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionWhether a job has already been persisted.Whether a job has already been persisted in another driver.Id of the client-side bundle.An indicator from the remote peer that the channel should be closed.UUID of a connection to a driver.Datasources definitions passed on to a node from a server.Parameter for the non-secure JMX server port.Parameter for the secure JMX server port.Parameter for the driver's uuid.An array of boolean flags indicating whther the task raised an error during serilaization or deserialization.Whther the job was submitted directly by a client or loaded from a persistence store.To determine whether a node connection is for a peer driver or an actual execution node.Job expired indicator, determines whether the job is should be cancelled.Whether a job graph is already being handled by a driver.Job pending indicator, determines whether the job is waiting for its scheduled time to start.Job requeue indicator.Entry holding the dependency graph of the tasks in a job, if any.Info on task dependencies within a task bundle.Uuid of a job executed offline.Whether a node accepts new jobs.Parameter the total accumulated task execution elapsed time in a bundle.Parameter for an eventual exception that prevented the tasks execution in the node.Parameter for the host the RMI registry for the node is running on.Parameter for the RMI port used by JMX in the node.Maxium number of concurrent jobs.Type of notification emitted by a node.Flag indicating whether the node is in offline mode.Request sent by the offline node to the driver upon reconnection to notify that the results are ready for a specified NODE_BUNDLE_ID.Marker to indicate whether a node is a master node for the provisioning features.UUID of the master node if the current node is a slave.Marker to indicate whether a node is a slave node for the provisioning features.Parameter for the node's uuid.An array of ints that holds the positions of the tasks that are marked as having to be resubmitted.Parameter for the node's available system information.Id of the task bundle sent to the node or local client executor.An array of ints holding the max number of resubmits for the tasks to send.An array of ints that holds the positions of the tasks such as they are in the initial job submiited by the client. -
Method Summary
Modifier and TypeMethodDescriptionstatic BundleParameterReturns the enum constant of this class with the specified name.static BundleParameter[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
IS_PEER
To determine whether a node connection is for a peer driver or an actual execution node. -
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_PORT_PARAM
Parameter for the RMI port used by JMX in the node. -
SYSTEM_INFO_PARAM
Parameter for the node's available system information. -
NODE_UUID_PARAM
Parameter for the node's uuid. -
JOB_REQUEUE
Job requeue indicator. -
JOB_PENDING
Job pending indicator, determines whether the job is waiting for its scheduled time to start. -
JOB_EXPIRED
Job expired indicator, determines whether the job is should be cancelled. -
DRIVER_UUID_PARAM
Parameter for the driver's uuid. -
DRIVER_MANAGEMENT_PORT
Parameter for the non-secure JMX server port. -
DRIVER_MANAGEMENT_PORT_SSL
Parameter for the secure JMX server port. -
NODE_BUNDLE_ELAPSED_PARAM
Parameter the total accumulated task execution elapsed time in a bundle. -
NODE_MAX_JOBS
Maxium number of concurrent jobs. -
NODE_OFFLINE
Flag indicating whether the node is in offline mode. -
NODE_OFFLINE_OPEN_REQUEST
Request sent by the offline node to the driver upon reconnection to notify that the results are ready for a specified NODE_BUNDLE_ID. -
TASK_BUNDLE_ID
Id of the task bundle sent to the node or local client executor. -
JOB_UUID
Uuid of a job executed offline. -
NODE_PROVISIONING_MASTER
Marker to indicate whether a node is a master node for the provisioning features. -
NODE_PROVISIONING_SLAVE
Marker to indicate whether a node is a slave node for the provisioning features. -
ERROR_MARKERS
An array of boolean flags indicating whther the task raised an error during serilaization or deserialization. -
TASK_POSITIONS
An array of ints that holds the positions of the tasks such as they are in the initial job submiited by the client. -
TASK_MAX_RESUBMITS
An array of ints holding the max number of resubmits for the tasks to send. -
RESUBMIT_TASK_POSITIONS
An array of ints that holds the positions of the tasks that are marked as having to be resubmitted. -
CLOSE_COMMAND
An indicator from the remote peer that the channel should be closed. -
FROM_PERSISTENCE
Whther the job was submitted directly by a client or loaded from a persistence store. -
DATASOURCE_DEFINITIONS
Datasources definitions passed on to a node from a server. -
ALREADY_PERSISTED
Whether a job has already been persisted. -
ALREADY_PERSISTED_P2P
Whether a job has already been persisted in another driver. -
CONNECTION_UUID
UUID of a connection to a driver. -
NODE_PROVISIONING_MASTER_UUID
UUID of the master node if the current node is a slave. -
CLIENT_BUNDLE_ID
Id of the client-side bundle. -
NODE_NOTIFICATION_TYPE
Type of notification emitted by a node. -
NODE_ACCEPTS_NEW_JOBS
Whether a node accepts new jobs. -
JOB_TASK_GRAPH
Entry holding the dependency graph of the tasks in a job, if any. -
JOB_TASK_GRAPH_INFO
Info on task dependencies within a task bundle. -
JOB_GRAPH_ALREADY_HANDLED
Whether a job graph is already being handled by a driver.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-