-
- All Implemented Interfaces:
-
java.io.Serializable,java.lang.Comparable
public enum KeepAliveStrategyAn enumeration of strategies for selecting which candidate pairs to keep alive.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALL_SUCCEEDEDKeep alive all succeeded pairs.
SELECTED_AND_TCPKeep alive the selected pair and any TCP pairs.
SELECTED_ONLYOnly keep alive the selected pair.
-
Method Summary
Modifier and Type Method Description static KeepAliveStrategyfromString(String string)StringtoString()static Array<KeepAliveStrategy>values()static KeepAliveStrategyvalueOf(String name)-
-
Method Detail
-
fromString
static KeepAliveStrategy fromString(String string)
- Parameters:
string- the name of the strategy.
-
values
static Array<KeepAliveStrategy> values()
-
valueOf
static KeepAliveStrategy valueOf(String name)
-
-
-
-