public interface ByteBufferPool
| Modifier and Type | Method and Description |
|---|---|
int |
activeCount() |
ByteBuffer |
getByteBuffer(int theSize) |
ByteBuffer |
reAllocate(ByteBuffer oldByteBuffer,
int minimumSize)
Return a new
ByteBuffer of at least minimumSize
and copy any bytes in the oldByteBuffer starting at
oldByteBuffer.position() up to oldByteBuffer.limit()
into the returned ByteBuffer. |
void |
releaseByteBuffer(ByteBuffer thebb) |
ByteBuffer getByteBuffer(int theSize)
void releaseByteBuffer(ByteBuffer thebb)
int activeCount()
ByteBuffer reAllocate(ByteBuffer oldByteBuffer, int minimumSize)
ByteBuffer of at least minimumSize
and copy any bytes in the oldByteBuffer starting at
oldByteBuffer.position() up to oldByteBuffer.limit()
into the returned ByteBuffer.Copyright © 2017–2019 Eclipse Foundation. All rights reserved.