public final class ReadOnlyBufferAllocators
extends java.lang.Object
BufferAllocator
s that create Buffer
instances which cannot be modified and
are read only.Modifier and Type | Field and Description |
---|---|
static BufferAllocator |
DEFAULT_RO_ALLOCATOR
Default
BufferAllocator that creates Buffer instances which cannot be modified and are read only. |
static BufferAllocator |
PREFER_DIRECT_RO_ALLOCATOR
BufferAllocator that creates Buffer instances which prefer off-heap allocations when otherwise
unspecified which cannot be modified and are read only. |
static BufferAllocator |
PREFER_HEAP_RO_ALLOCATOR
BufferAllocator that creates Buffer instances which prefer heap allocations when otherwise
unspecified which cannot be modified and are read only. |
public static final BufferAllocator DEFAULT_RO_ALLOCATOR
BufferAllocator
that creates Buffer
instances which cannot be modified and are read only.public static final BufferAllocator PREFER_HEAP_RO_ALLOCATOR
BufferAllocator
that creates Buffer
instances which prefer heap allocations when otherwise
unspecified which cannot be modified and are read only.public static final BufferAllocator PREFER_DIRECT_RO_ALLOCATOR
BufferAllocator
that creates Buffer
instances which prefer off-heap allocations when otherwise
unspecified which cannot be modified and are read only.