
public enum ConnectionMgmtScheme extends Enum<ConnectionMgmtScheme>
| Enum Constant and Description |
|---|
ANY_CONTROLLER_ONE_MASTER
Any node can be connected with any controller.
|
CONTAINER_BASED
Container based scheme will let the nodes connect with controller based
on the container configuration.
|
LOAD_BALANCED
Complex Load Balancing scheme that will let the nodes connect with controller based
on the resource usage in each of the controllers in a cluster.
|
ROUND_ROBIN
Simple Round Robin Scheme that will let the nodes connect with each controller in
Active-Active cluster in a round robin fashion.
|
SINGLE_CONTROLLER
All the nodes are connected with a Single Controller.
|
| Modifier and Type | Method and Description |
|---|---|
static ConnectionMgmtScheme |
fromString(String pName) |
String |
toString() |
static ConnectionMgmtScheme |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ConnectionMgmtScheme[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConnectionMgmtScheme SINGLE_CONTROLLER
public static final ConnectionMgmtScheme ANY_CONTROLLER_ONE_MASTER
public static final ConnectionMgmtScheme ROUND_ROBIN
public static final ConnectionMgmtScheme LOAD_BALANCED
public static final ConnectionMgmtScheme CONTAINER_BASED
public static ConnectionMgmtScheme[] values()
for (ConnectionMgmtScheme c : ConnectionMgmtScheme.values()) System.out.println(c);
public static ConnectionMgmtScheme 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 String toString()
toString in class Enum<ConnectionMgmtScheme>public static ConnectionMgmtScheme fromString(String pName)
Copyright © 2015. All Rights Reserved.