public static enum BaseNode.Condition extends Enum<BaseNode.Condition>
Enum Constant and Description |
---|
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 |
Modifier and Type | Method and Description |
---|---|
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.
|
public static final BaseNode.Condition ENABLED
public static final BaseNode.Condition DISABLED
public static final BaseNode.Condition DRAINING
public static final BaseNode.Condition UNRECOGNIZED
public static BaseNode.Condition[] values()
for (BaseNode.Condition c : BaseNode.Condition.values()) System.out.println(c);
public static BaseNode.Condition valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullpublic static BaseNode.Condition fromValue(String condition)
Copyright © 2009-2013 jclouds. All Rights Reserved.