Class GlobalBufferPoolAllocator

  • All Implemented Interfaces:
    io.netty.buffer.ByteBufAllocator

    public class GlobalBufferPoolAllocator
    extends BufferPoolAllocator
    Primary ByteBuf / ByteBuffer allocator - using the global BufferPool.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static GlobalBufferPoolAllocator instance  
      • Fields inherited from interface io.netty.buffer.ByteBufAllocator

        DEFAULT
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static io.netty.buffer.ByteBuf wrap​(java.nio.ByteBuffer buffer)  
      • Methods inherited from class io.netty.buffer.AbstractByteBufAllocator

        buffer, buffer, buffer, calculateNewCapacity, compositeBuffer, compositeBuffer, compositeDirectBuffer, compositeDirectBuffer, compositeHeapBuffer, compositeHeapBuffer, directBuffer, directBuffer, directBuffer, heapBuffer, heapBuffer, heapBuffer, ioBuffer, ioBuffer, ioBuffer, toLeakAwareBuffer, toLeakAwareBuffer, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Method Detail

      • wrap

        public static io.netty.buffer.ByteBuf wrap​(java.nio.ByteBuffer buffer)