Enum Class JPPFChannelDescriptor

java.lang.Object
java.lang.Enum<JPPFChannelDescriptor>
org.jppf.utils.JPPFChannelDescriptor
All Implemented Interfaces:
Serializable, Comparable<JPPFChannelDescriptor>, Constable

public enum JPPFChannelDescriptor extends Enum<JPPFChannelDescriptor>
Since:
6.3
Author:
Laurent Cohen
  • Enum Constant Details

    • UNKNOWN

      public static final JPPFChannelDescriptor UNKNOWN
      Identifier for an unidentified channel.
    • PEER_HEARTBEAT_CHANNEL

      public static final JPPFChannelDescriptor PEER_HEARTBEAT_CHANNEL
      Identifier for a driver-tot-driver heartbeat connection.
    • CLIENT_HEARTBEAT_CHANNEL

      public static final JPPFChannelDescriptor CLIENT_HEARTBEAT_CHANNEL
      Identifier for a client-driver heartbeat connection.
    • NODE_HEARTBEAT_CHANNEL

      public static final JPPFChannelDescriptor NODE_HEARTBEAT_CHANNEL
      Identifier for a nodet-driver heartbeat connection.
    • JMX_REMOTE_CHANNEL

      public static final JPPFChannelDescriptor JMX_REMOTE_CHANNEL
      Identifier for a JMX remote channel.
    • ACCEPTOR_CHANNEL

      public static final JPPFChannelDescriptor ACCEPTOR_CHANNEL
      Identifier for an acceptor channel.
    • CLIENT_JOB_DATA_CHANNEL

      public static final JPPFChannelDescriptor CLIENT_JOB_DATA_CHANNEL
      Identifier for the job data channel of a client.
    • CLIENT_CLASSLOADER_CHANNEL

      public static final JPPFChannelDescriptor CLIENT_CLASSLOADER_CHANNEL
      Identifier for the class loader channel of a client.
    • NODE_JOB_DATA_CHANNEL

      public static final JPPFChannelDescriptor NODE_JOB_DATA_CHANNEL
      Identifier for the job data channel of a node.
    • NODE_CLASSLOADER_CHANNEL

      public static final JPPFChannelDescriptor NODE_CLASSLOADER_CHANNEL
      Identifier for the class loader channel of a node.
  • Method Details

    • values

      public static JPPFChannelDescriptor[] 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

      public static JPPFChannelDescriptor valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • isClassloader

      public boolean isClassloader()
      Returns:
      true if this is a class loader channel, false otherwise.
    • isJobData

      public boolean isJobData()
      Returns:
      true if this is a job data channel, false otherwise.
    • isHeartbeat

      public boolean isHeartbeat()
      Returns:
      true if this is a heartbeat channel, false otherwise.
    • isJmx

      public boolean isJmx()
      Returns:
      true if this is a class loader channel, false otherwise.
    • isClient

      public boolean isClient()
      Returns:
      true if this is a client-side channel, false otherwise.
    • isNode

      public boolean isNode()
      Returns:
      true if this is a node-side channel, false otherwise.
    • isDriver

      public boolean isDriver()
      Returns:
      true if this is a driver-side channel, false otherwise.