Package org.jppf.utils
Enum Class JPPFChannelDescriptor
- All Implemented Interfaces:
Serializable,Comparable<JPPFChannelDescriptor>,Constable
- Since:
- 6.3
- 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 ConstantDescriptionIdentifier for an acceptor channel.Identifier for the class loader channel of a client.Identifier for a client-driver heartbeat connection.Identifier for the job data channel of a client.Identifier for a JMX remote channel.Identifier for the class loader channel of a node.Identifier for a nodet-driver heartbeat connection.Identifier for the job data channel of a node.Identifier for a driver-tot-driver heartbeat connection.Identifier for an unidentified channel. -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanisClient()booleanisDriver()booleanbooleanisJmx()booleanbooleanisNode()static JPPFChannelDescriptorReturns the enum constant of this class with the specified name.static JPPFChannelDescriptor[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
UNKNOWN
Identifier for an unidentified channel. -
PEER_HEARTBEAT_CHANNEL
Identifier for a driver-tot-driver heartbeat connection. -
CLIENT_HEARTBEAT_CHANNEL
Identifier for a client-driver heartbeat connection. -
NODE_HEARTBEAT_CHANNEL
Identifier for a nodet-driver heartbeat connection. -
JMX_REMOTE_CHANNEL
Identifier for a JMX remote channel. -
ACCEPTOR_CHANNEL
Identifier for an acceptor channel. -
CLIENT_JOB_DATA_CHANNEL
Identifier for the job data channel of a client. -
CLIENT_CLASSLOADER_CHANNEL
Identifier for the class loader channel of a client. -
NODE_JOB_DATA_CHANNEL
Identifier for the job data channel of a node. -
NODE_CLASSLOADER_CHANNEL
Identifier for the class loader channel of a node.
-
-
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
-
isClassloader
public boolean isClassloader()- Returns:
trueif this is a class loader channel,falseotherwise.
-
isJobData
public boolean isJobData()- Returns:
trueif this is a job data channel,falseotherwise.
-
isHeartbeat
public boolean isHeartbeat()- Returns:
trueif this is a heartbeat channel,falseotherwise.
-
isJmx
public boolean isJmx()- Returns:
trueif this is a class loader channel,falseotherwise.
-
isClient
public boolean isClient()- Returns:
trueif this is a client-side channel,falseotherwise.
-
isNode
public boolean isNode()- Returns:
trueif this is a node-side channel,falseotherwise.
-
isDriver
public boolean isDriver()- Returns:
trueif this is a driver-side channel,falseotherwise.
-