public enum PNReconnectionPolicy extends java.lang.Enum<PNReconnectionPolicy>
| Enum Constant and Description |
|---|
EXPONENTIAL |
LINEAR |
NONE |
| Modifier and Type | Method and Description |
|---|---|
static PNReconnectionPolicy |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PNReconnectionPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PNReconnectionPolicy NONE
public static final PNReconnectionPolicy LINEAR
public static final PNReconnectionPolicy EXPONENTIAL
public static PNReconnectionPolicy[] values()
for (PNReconnectionPolicy c : PNReconnectionPolicy.values()) System.out.println(c);
public static PNReconnectionPolicy valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null