public static enum Node.Status extends Enum<Node.Status>
Enum Constant and Description |
---|
DRAINING
represents a node that stops the traffic manager from sending any additional new
connections to the node, but honors established sessions.
|
OFFLINE
represents a node that cannot accept or service traffic
|
ONLINE
Only nodes that are in an ONLINE status will receive and be able to service traffic from
the load balancer.
|
UNRECOGNIZED |
Modifier and Type | Method and Description |
---|---|
static Node.Status |
fromValue(String status) |
static Node.Status |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Node.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Node.Status ONLINE
public static final Node.Status OFFLINE
public static final Node.Status DRAINING
public static final Node.Status UNRECOGNIZED
public static Node.Status[] values()
for (Node.Status c : Node.Status.values()) System.out.println(c);
public static Node.Status 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 Node.Status fromValue(String status)
Copyright © 2009-2012 jclouds. All Rights Reserved.