Enum Class JPPFResourceWrapper.State

java.lang.Object
java.lang.Enum<JPPFResourceWrapper.State>
org.jppf.classloader.JPPFResourceWrapper.State
All Implemented Interfaces:
Serializable, Comparable<JPPFResourceWrapper.State>, Constable
Enclosing class:
JPPFResourceWrapper

public static enum JPPFResourceWrapper.State extends Enum<JPPFResourceWrapper.State>
Enumeration of the possible states for this resource wrapper.
  • Enum Constant Details

    • NODE_INITIATION

      public static final JPPFResourceWrapper.State NODE_INITIATION
      State for a node first contacting the class server.
    • NODE_REQUEST

      public static final JPPFResourceWrapper.State NODE_REQUEST
      State for a node requesting a resource from the class server.
    • NODE_RESPONSE

      public static final JPPFResourceWrapper.State NODE_RESPONSE
      State for a node receiving a resource from the class server.
    • NODE_RESPONSE_ERROR

      public static final JPPFResourceWrapper.State NODE_RESPONSE_ERROR
      State for a node receiving a resource from the class server, when the resonse could not be obtained from the client.
    • PROVIDER_INITIATION

      public static final JPPFResourceWrapper.State PROVIDER_INITIATION
      State for a resource provider first contacting the class server.
    • PROVIDER_REQUEST

      public static final JPPFResourceWrapper.State PROVIDER_REQUEST
      State for the class server requesting a resource from a resource provider.
    • PROVIDER_RESPONSE

      public static final JPPFResourceWrapper.State PROVIDER_RESPONSE
      State for the class server receiving a resource from a resource provider.
    • CLOSE_CHANNEL

      public static final JPPFResourceWrapper.State CLOSE_CHANNEL
      Used for sending a close channel command to the server
  • Method Details

    • values

      public static JPPFResourceWrapper.State[] 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 JPPFResourceWrapper.State 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