public enum FailoverStrategy extends Enum<FailoverStrategy>
| Enum Constant and Description |
|---|
DETERMINISTIC
Failover target chosen deterministically from the associated session identifier.
|
LOAD_BALANCED
Failover target chosen via load balancing mechanism.
|
| Modifier and Type | Method and Description |
|---|---|
static FailoverStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FailoverStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FailoverStrategy LOAD_BALANCED
public static final FailoverStrategy DETERMINISTIC
public static FailoverStrategy[] values()
for (FailoverStrategy c : FailoverStrategy.values()) System.out.println(c);
public static FailoverStrategy 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 nullCopyright © 2019 JBoss by Red Hat. All rights reserved.