Package io.undertow.server
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 Summary
Constructors Constructor Description XnioBufferPoolAdaptor(ByteBufferPool byteBufferPool)
-
-
-
Constructor Detail
-
XnioBufferPoolAdaptor
public XnioBufferPoolAdaptor(ByteBufferPool byteBufferPool)
-
-
Method Detail
-
allocate
public org.xnio.Pooled<ByteBuffer> allocate()
- Specified by:
allocatein interfaceorg.xnio.Pool<ByteBuffer>
-
-