org.glassfish.grizzly.memory
Interface ByteBufferAware

All Known Implementing Classes:
ByteBufferManager

public interface ByteBufferAware

Author:
oleksiys

Method Summary
 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)


Copyright © 2012 Oracle Corporation. All Rights Reserved.