public enum BufferOption extends Enum<BufferOption>
| Enum Constant and Description |
|---|
DefaultGroup
Sends POST requests in groups of 10 events.
|
HeavyGroup
Sends POST requests in groups of 25 events.
|
Single
Sends both GET and POST requests with only a single event.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getCode() |
static BufferOption |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BufferOption[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BufferOption Single
public static final BufferOption DefaultGroup
public static final BufferOption HeavyGroup
public static BufferOption[] values()
for (BufferOption c : BufferOption.values()) System.out.println(c);
public static BufferOption 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 getCode()