Package | Description |
---|---|
org.xnio |
The main API package for XNIO.
|
Modifier and Type | Class and Description |
---|---|
class |
ByteBufferSlicePool
A buffer pooled allocator.
|
Modifier and Type | Method and Description |
---|---|
static <B extends java.nio.Buffer> |
Buffers.allocatedBufferPool(BufferAllocator<B> allocator,
int size)
A buffer pool which allocates a new buffer on every allocate request, and discards buffers on free.
|
static Pool<java.nio.ByteBuffer> |
Buffers.secureBufferPool(Pool<java.nio.ByteBuffer> delegate)
A byte buffer pool which zeroes the content of the buffer before re-pooling it.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
Buffers.isSecureBufferPool(Pool<?> pool)
Determine whether the given pool is a secure pool.
|
static Pool<java.nio.ByteBuffer> |
Buffers.secureBufferPool(Pool<java.nio.ByteBuffer> delegate)
A byte buffer pool which zeroes the content of the buffer before re-pooling it.
|
Copyright © 2010 JBoss, a division of Red Hat, Inc.