Uses of Interface
org.xnio.Pool
-
Packages that use Pool Package Description org.xnio The main API package for XNIO. -
-
Uses of Pool in org.xnio
Classes in org.xnio that implement Pool Modifier and Type Class Description classByteBufferSlicePoolDeprecated.SeeByteBufferPool.Fields in org.xnio declared as Pool Modifier and Type Field Description static Pool<java.nio.ByteBuffer>Pool. DIRECTDeprecated.A compatibility pool which maps toByteBufferPool.MEDIUM_DIRECT.static Pool<java.nio.ByteBuffer>Pool. HEAPDeprecated.A compatibility pool which maps toByteBufferPool.MEDIUM_HEAP.Methods in org.xnio that return Pool Modifier and Type Method Description static <B extends java.nio.Buffer>
Pool<B>Buffers. 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<java.nio.ByteBuffer>Buffers. secureBufferPool(Pool<java.nio.ByteBuffer> delegate)A byte buffer pool which zeroes the content of the buffer before re-pooling it.Methods in org.xnio with parameters of type Pool Modifier and Type Method Description static <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<java.nio.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<java.nio.ByteBuffer> pool)Initiate a low-copy transfer between two stream channels.static booleanBuffers. isSecureBufferPool(Pool<?> pool)Determine whether the given pool is a secure pool.static Pool<java.nio.ByteBuffer>Buffers. secureBufferPool(Pool<java.nio.ByteBuffer> delegate)A byte buffer pool which zeroes the content of the buffer before re-pooling it.
-