Class XnioBufferPoolAdaptor

  • All Implemented Interfaces:
    org.xnio.Pool<ByteBuffer>

    public class XnioBufferPoolAdaptor
    extends Object
    implements org.xnio.Pool<ByteBuffer>
    Adaptor between a ByteBufferPool and an XNIO Pool
    Author:
    Stuart Douglas
    • Constructor Detail

      • XnioBufferPoolAdaptor

        public XnioBufferPoolAdaptor​(ByteBufferPool byteBufferPool)
    • Method Detail

      • allocate

        public org.xnio.Pooled<ByteBuffer> allocate()
        Specified by:
        allocate in interface org.xnio.Pool<ByteBuffer>