Class SimpleByteBufferAllocator

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      ByteBuffer allocate​(int capacity, boolean direct)
      Returns the buffer which is capable of the specified size.
      void dispose()
      Dispose of this allocator.
      ByteBuffer wrap​(java.nio.ByteBuffer nioBuffer)
      Wraps the specified NIO ByteBuffer into MINA buffer.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SimpleByteBufferAllocator

        public SimpleByteBufferAllocator()