public enum GridDrSenderHubLoadBalancingMode extends Enum<GridDrSenderHubLoadBalancingMode>
| Enum Constant and Description |
|---|
DR_RANDOM
Balance sender hubs in random fashion.
|
DR_ROUND_ROBIN
Balance sender hubs in round-robin fashion.
|
| Modifier and Type | Method and Description |
|---|---|
static GridDrSenderHubLoadBalancingMode |
fromOrdinal(int ord)
Efficiently gets enumerated value from its ordinal.
|
static GridDrSenderHubLoadBalancingMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GridDrSenderHubLoadBalancingMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GridDrSenderHubLoadBalancingMode DR_RANDOM
public static final GridDrSenderHubLoadBalancingMode DR_ROUND_ROBIN
public static GridDrSenderHubLoadBalancingMode[] values()
for (GridDrSenderHubLoadBalancingMode c : GridDrSenderHubLoadBalancingMode.values()) System.out.println(c);
public static GridDrSenderHubLoadBalancingMode 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 null@Nullable public static GridDrSenderHubLoadBalancingMode fromOrdinal(int ord)
ord - Ordinal value.null if ordinal out of range.Copyright © 2014. All rights reserved.