Uses of Interface
org.xnio.Pool
Packages that use Pool
-
Uses of Pool in org.xnio
Modifier and TypeFieldDescriptionstatic final Pool
<ByteBuffer> Pool.DIRECT
Deprecated.A compatibility pool which maps toByteBufferPool.MEDIUM_DIRECT
.static final Pool
<ByteBuffer> Pool.HEAP
Deprecated.A compatibility pool which maps toByteBufferPool.MEDIUM_HEAP
.Modifier and TypeMethodDescriptionBuffers.allocatedBufferPool
(BufferAllocator<B> allocator, int size) A buffer pool which allocates a new buffer on every allocate request, and discards buffers on free.static Pool
<ByteBuffer> Buffers.secureBufferPool
(Pool<ByteBuffer> delegate) A byte buffer pool which zeroes the content of the buffer before re-pooling it.Modifier and TypeMethodDescriptionstatic <I extends StreamSourceChannel,
O extends StreamSinkChannel>
voidChannelListeners.initiateTransfer
(long count, I source, O sink, ChannelListener<? super I> sourceListener, ChannelListener<? super O> sinkListener, ChannelExceptionHandler<? super I> readExceptionHandler, ChannelExceptionHandler<? super O> writeExceptionHandler, Pool<ByteBuffer> pool) Initiate a low-copy transfer between two stream channels.static <I extends StreamSourceChannel,
O extends StreamSinkChannel>
voidChannelListeners.initiateTransfer
(I source, O sink, Pool<ByteBuffer> pool) Initiate a low-copy transfer between two stream channels.static boolean
Buffers.isSecureBufferPool
(Pool<?> pool) Determine whether the given pool is a secure pool.static Pool
<ByteBuffer> Buffers.secureBufferPool
(Pool<ByteBuffer> delegate) A byte buffer pool which zeroes the content of the buffer before re-pooling it.
ByteBufferPool
.