@Experimental public enum ByteBufferType extends Enum<ByteBufferType>
ByteBuffer that a ByteBufferProvider provides.| Enum Constant and Description |
|---|
DIRECT
Native off-heap memory.
|
HEAP
Heap memory.
|
| Modifier and Type | Method and Description |
|---|---|
static ByteBufferType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ByteBufferType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ByteBufferType DIRECT
public static final ByteBufferType HEAP
public static ByteBufferType[] values()
for (ByteBufferType c : ByteBufferType.values()) System.out.println(c);
public static ByteBufferType 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 © 2023 MuleSoft, Inc.. All rights reserved.