public static enum SetRequest.Option extends Enum<SetRequest.Option>
Enum Constant and Description |
---|
MAESTRO_NOTE_OPT_FCL
Set fail condition
|
MAESTRO_NOTE_OPT_SET_BROKER
Broker address
|
MAESTRO_NOTE_OPT_SET_DURATION_TYPE
Duration type (count or duration)
|
MAESTRO_NOTE_OPT_SET_LOG_LEVEL
Set the log level
|
MAESTRO_NOTE_OPT_SET_MESSAGE_SIZE
Set message size
|
MAESTRO_NOTE_OPT_SET_MI
Sets the management interface
|
MAESTRO_NOTE_OPT_SET_PARALLEL_COUNT
Set the parallel count
|
MAESTRO_NOTE_OPT_SET_RATE
Set rate
|
MAESTRO_NOTE_OPT_SET_THROTTLE
Set throttle
|
Modifier and Type | Method and Description |
---|---|
static SetRequest.Option |
from(long value) |
long |
getValue() |
void |
setValue(long value) |
static SetRequest.Option |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SetRequest.Option[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SetRequest.Option MAESTRO_NOTE_OPT_SET_BROKER
public static final SetRequest.Option MAESTRO_NOTE_OPT_SET_DURATION_TYPE
public static final SetRequest.Option MAESTRO_NOTE_OPT_SET_LOG_LEVEL
public static final SetRequest.Option MAESTRO_NOTE_OPT_SET_PARALLEL_COUNT
public static final SetRequest.Option MAESTRO_NOTE_OPT_SET_MESSAGE_SIZE
public static final SetRequest.Option MAESTRO_NOTE_OPT_SET_THROTTLE
public static final SetRequest.Option MAESTRO_NOTE_OPT_SET_RATE
public static final SetRequest.Option MAESTRO_NOTE_OPT_FCL
public static final SetRequest.Option MAESTRO_NOTE_OPT_SET_MI
public static SetRequest.Option[] values()
for (SetRequest.Option c : SetRequest.Option.values()) System.out.println(c);
public static SetRequest.Option 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 long getValue()
public void setValue(long value)
public static SetRequest.Option from(long value)
This documentation was released into the public domain.