public enum HandlerStartupStrategy extends Enum<HandlerStartupStrategy>
Enum Constant and Description |
---|
LATE_JOIN
Identifies late joining which causes
Handler to use recovery channels to get
up-to-date market state.
|
PRE_OPENING
Identifies early joining.
|
Modifier and Type | Method and Description |
---|---|
static HandlerStartupStrategy |
forValue(int value)
Convert int to enumeration.
|
int |
getValue()
Get int value.
|
static HandlerStartupStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HandlerStartupStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HandlerStartupStrategy LATE_JOIN
public static final HandlerStartupStrategy PRE_OPENING
public static HandlerStartupStrategy[] values()
for (HandlerStartupStrategy c : HandlerStartupStrategy.values()) System.out.println(c);
public static HandlerStartupStrategy 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 int getValue()
public static HandlerStartupStrategy forValue(int value)
value
- int value.Copyright © 2010–2020 Onix Solutions. All rights reserved.