org.jclouds.cloudloadbalancers.domain.internal
Enum BaseNode.Condition

java.lang.Object
  extended by java.lang.Enum<BaseNode.Condition>
      extended by org.jclouds.cloudloadbalancers.domain.internal.BaseNode.Condition
All Implemented Interfaces:
Serializable, Comparable<BaseNode.Condition>
Enclosing class:
BaseNode<T extends BaseNode<T>>

public static enum BaseNode.Condition
extends Enum<BaseNode.Condition>

Virtual IP Conditions


Enum Constant Summary
DISABLED
          Node is not permitted to accept any new connections regardless of session persistence configuration.
DRAINING
          Node is allowed to service existing established connections and connections that are being directed to it as a result of the session persistence configuration.
ENABLED
          Node is permitted to accept new connections.
UNRECOGNIZED
           
 
Method Summary
static BaseNode.Condition fromValue(String condition)
           
static BaseNode.Condition valueOf(String name)
          Returns the enum constant of this type with the specified name.
static BaseNode.Condition[] 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

ENABLED

public static final BaseNode.Condition ENABLED
Node is permitted to accept new connections.


DISABLED

public static final BaseNode.Condition DISABLED
Node is not permitted to accept any new connections regardless of session persistence configuration. Existing connections are forcibly terminated.


DRAINING

public static final BaseNode.Condition DRAINING
Node is allowed to service existing established connections and connections that are being directed to it as a result of the session persistence configuration.


UNRECOGNIZED

public static final BaseNode.Condition UNRECOGNIZED
Method Detail

values

public static BaseNode.Condition[] 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 (BaseNode.Condition c : BaseNode.Condition.values())
    System.out.println(c);

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

valueOf

public static BaseNode.Condition 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

fromValue

public static BaseNode.Condition fromValue(String condition)


Copyright © 2009-2011 jclouds. All Rights Reserved.