-
- Type Parameters:
T
- the resource type
- All Known Implementing Classes:
ByteBufferSlicePool
public interface Pool<T>
Deprecated.SeeByteBufferPool
.A generic pooled resource manager.
-
-
Field Summary
Fields Modifier and Type Field Description static Pool<java.nio.ByteBuffer>
DIRECT
Deprecated.A compatibility pool which maps toByteBufferPool.MEDIUM_DIRECT
.static Pool<java.nio.ByteBuffer>
HEAP
Deprecated.A compatibility pool which maps toByteBufferPool.MEDIUM_HEAP
.
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description Pooled<T>
allocate()
Deprecated.Allocate a resource from the pool.
-
-
-
Field Detail
-
HEAP
static final Pool<java.nio.ByteBuffer> HEAP
Deprecated.A compatibility pool which maps toByteBufferPool.MEDIUM_HEAP
.
-
DIRECT
static final Pool<java.nio.ByteBuffer> DIRECT
Deprecated.A compatibility pool which maps toByteBufferPool.MEDIUM_DIRECT
.
-
-