Top Description Fields Constructors Methods
io.undertow.server

public Class XnioBufferPoolAdaptor

extends Object
implements Pool<ByteBuffer>
Class Inheritance
All Implemented Interfaces
org.xnio.Pool
Imports
io.undertow.connector.ByteBufferPool, .PooledByteBuffer, org.xnio.Pool, .Pooled, java.nio.ByteBuffer

References Deprecated

Pool is deprecated or references (maybe indirectly) at least one deprecated element.

See corresponding docs for further information.

Adaptor between a ByteBufferPool and an XNIO Pool
Author
Stuart Douglas

Field Summary

Modifier and TypeField and Description
private final ByteBufferPool

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public Pooled<ByteBuffer>
allocate()

Implements org.xnio.Pool.allocate.

References Deprecated Pooled is deprecated or references (maybe indirectly) at least one deprecated element.

Allocate a resource from the pool.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

byteBufferPoolback to summary
private final ByteBufferPool byteBufferPool

Constructor Detail

XnioBufferPoolAdaptorback to summary
public XnioBufferPoolAdaptor(ByteBufferPool byteBufferPool)

Method Detail

allocateback to summary
public Pooled<ByteBuffer> allocate()

Implements org.xnio.Pool.allocate.

Doc from org.xnio.Pool.allocate.

References Deprecated

Pooled is deprecated or references (maybe indirectly) at least one deprecated element.

See corresponding docs for further information.

Allocate a resource from the pool.

Returns:Pooled<ByteBuffer>

the resource

Annotations
@Override