Class XnioBufferPoolAdaptor

java.lang.Object
io.undertow.server.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 Details

    • XnioBufferPoolAdaptor

      public XnioBufferPoolAdaptor(ByteBufferPool byteBufferPool)
  • Method Details

    • allocate

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