public enum FailoverStrategy extends Enum<FailoverStrategy>
| Enum Constant and Description |
|---|
HotCold |
HotHot |
RoundRobin |
Simple |
| Modifier and Type | Method and Description |
|---|---|
abstract Class<? extends org.nustaq.kontraktor.routers.AbstractKrouter> |
getClazz() |
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 HotHot
public static final FailoverStrategy HotCold
public static final FailoverStrategy Simple
public static final FailoverStrategy RoundRobin
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 nullpublic abstract Class<? extends org.nustaq.kontraktor.routers.AbstractKrouter> getClazz()
Copyright © 2018. All rights reserved.