public interface PooledDataBuffer extends DataBuffer
DataBuffer that allows for buffer that share
 a memory pool. Introduces methods for reference counting.| Modifier and Type | Method and Description | 
|---|---|
| boolean | isAllocated()Return  trueif this buffer is allocated;falseif it has been deallocated. | 
| boolean | release()Decrease the reference count for this buffer by one,
 and deallocate it once the count reaches zero. | 
| PooledDataBuffer | retain()Increase the reference count for this buffer by one. | 
asByteBuffer, asByteBuffer, asInputStream, asInputStream, asOutputStream, capacity, capacity, ensureCapacity, factory, getByte, indexOf, lastIndexOf, read, read, read, readableByteCount, readPosition, readPosition, retainedSlice, slice, toString, toString, writableByteCount, write, write, write, write, write, write, writePosition, writePositionboolean isAllocated()
true if this buffer is allocated;
 false if it has been deallocated.PooledDataBuffer retain()
boolean release()
true if the buffer was deallocated;
 false otherwise