T - the resource typeByteBufferPool.public interface Pool<T>
| Modifier and Type | Field and Description |
|---|---|
static Pool<ByteBuffer> |
DIRECT
Deprecated.
A compatibility pool which maps to
ByteBufferPool.MEDIUM_DIRECT. |
static Pool<ByteBuffer> |
HEAP
Deprecated.
A compatibility pool which maps to
ByteBufferPool.MEDIUM_HEAP. |
| Modifier and Type | Method and Description |
|---|---|
Pooled<T> |
allocate()
Deprecated.
Allocate a resource from the pool.
|
static final Pool<ByteBuffer> HEAP
ByteBufferPool.MEDIUM_HEAP.static final Pool<ByteBuffer> DIRECT
ByteBufferPool.MEDIUM_DIRECT.Copyright © 2019 JBoss by Red Hat. All rights reserved.