Interface ByteBufferAllocator


@Private public interface ByteBufferAllocator
Defines the way the ByteBuffers are created
  • Method Summary

    Modifier and Type
    Method
    Description
    allocate(long size)
    Allocates a bytebuffer
  • Method Details

    • allocate

      ByteBuffer allocate(long size) throws IOException
      Allocates a bytebuffer
      Parameters:
      size - the size of the bytebuffer
      Returns:
      the bytebuffer that is created
      Throws:
      IOException - exception thrown if there is an error while creating the ByteBuffer