public static enum BufferManager.BufferReserveMode extends Enum<BufferManager.BufferReserveMode>
Enum Constant and Description |
---|
FORCE
Claim all of the buffers requested, even if they are not available, without waiting
|
NO_WAIT
Claim unused buffers up to the amount requested without waiting
|
Modifier and Type | Method and Description |
---|---|
static BufferManager.BufferReserveMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BufferManager.BufferReserveMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BufferManager.BufferReserveMode FORCE
public static final BufferManager.BufferReserveMode NO_WAIT
public static BufferManager.BufferReserveMode[] values()
for (BufferManager.BufferReserveMode c : BufferManager.BufferReserveMode.values()) System.out.println(c);
public static BufferManager.BufferReserveMode 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 © 2020. All rights reserved.