public enum BatchMode extends Enum<BatchMode>
OutgoingFrames#outgoingFrame(Frame, WriteCallback, BatchMode).| Enum Constant and Description |
|---|
AUTO
Implementers are free to decide whether to send or not frames
to the network layer.
|
OFF
Implementers must send frames to the network layer.
|
ON
Implementers must batch frames.
|
| Modifier and Type | Method and Description |
|---|---|
static BatchMode |
max(BatchMode one,
BatchMode two) |
static BatchMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BatchMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BatchMode AUTO
public static final BatchMode ON
public static final BatchMode OFF
public static BatchMode[] values()
for (BatchMode c : BatchMode.values()) System.out.println(c);
public static BatchMode 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 nullCopyright © 1995-2015 Webtide. All Rights Reserved.