public enum BufferAllocator extends Enum<BufferAllocator>
| Enum Constant and Description |
|---|
POOLED
Reusable pool of buffers
|
UNPOOLED
New buffer for each allocation without any pooling
|
| Modifier and Type | Method and Description |
|---|---|
static BufferAllocator |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BufferAllocator[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BufferAllocator POOLED
public static final BufferAllocator UNPOOLED
public static BufferAllocator[] values()
for (BufferAllocator c : BufferAllocator.values()) System.out.println(c);
public static BufferAllocator 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 © 2024 Apache NiFi Project. All rights reserved.