Package org.glassfish.grizzly.memory
Interface ByteBufferAware
-
- All Known Implementing Classes:
ByteBufferManager
public interface ByteBufferAware
- Author:
- oleksiys
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ByteBuffer
allocateByteBuffer(int size)
ByteBuffer
allocateByteBufferAtLeast(int size)
ByteBuffer
reallocateByteBuffer(ByteBuffer oldByteBuffer, int newSize)
void
releaseByteBuffer(ByteBuffer byteBuffer)
-
-
-
Method Detail
-
allocateByteBuffer
ByteBuffer allocateByteBuffer(int size)
-
allocateByteBufferAtLeast
ByteBuffer allocateByteBufferAtLeast(int size)
-
reallocateByteBuffer
ByteBuffer reallocateByteBuffer(ByteBuffer oldByteBuffer, int newSize)
-
releaseByteBuffer
void releaseByteBuffer(ByteBuffer byteBuffer)
-
-