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 ByteBufferallocateByteBuffer(int size)ByteBufferallocateByteBufferAtLeast(int size)ByteBufferreallocateByteBuffer(ByteBuffer oldByteBuffer, int newSize)voidreleaseByteBuffer(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)
-
-