Class MappedByteBufferPool.Tagged

All Implemented Interfaces:
ByteBufferPool
Enclosing class:
MappedByteBufferPool

public static class MappedByteBufferPool.Tagged extends MappedByteBufferPool
  • Field Details

  • Constructor Details

    • Tagged

      public Tagged()
  • Method Details

    • newByteBuffer

      public ByteBuffer newByteBuffer(int capacity, boolean direct)
      Description copied from interface: ByteBufferPool

      Creates a new ByteBuffer of the given capacity and the given directness.

      Parameters:
      capacity - the ByteBuffer capacity
      direct - the ByteBuffer directness
      Returns:
      a newly allocated ByteBuffer