public enum ThrottleCommand extends java.lang.Enum<ThrottleCommand>
Enum Constant and Description |
---|
DEFAULT
Restore the throttle level to the configured default value.
|
DOWN
Decrease the throttle (this will result in more updates being sent to the client)
|
MAX
Set the throttle level to the maximum.
|
MIN
Reduce the throttle level to the minimum.
|
START
Restore the throttle level to the level that was applied prior to the stop command being issued.
|
STOP
Stop any updates that could be throttled from being sent to client.
|
UP
Increase the throttle (this will result in fewer updates being sent to the client).
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
toString() |
static ThrottleCommand |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ThrottleCommand[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ThrottleCommand UP
public static final ThrottleCommand DOWN
public static final ThrottleCommand MIN
public static final ThrottleCommand MAX
public static final ThrottleCommand STOP
public static final ThrottleCommand START
public static final ThrottleCommand DEFAULT
public static ThrottleCommand[] values()
for (ThrottleCommand c : ThrottleCommand.values()) System.out.println(c);
public static ThrottleCommand 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 nullpublic java.lang.String toString()
toString
in class java.lang.Enum<ThrottleCommand>
Please send bug reports and comments to Caplin support