Package | Description |
---|---|
io.undertow.server | |
io.undertow.util | |
io.undertow.websockets.core | |
org.xnio |
The main API package for XNIO.
|
org.xnio.channels |
The core XNIO channel API.
|
org.xnio.conduits |
The XNIO conduit SPI.
|
org.xnio.streams |
Utility classes for creating streams which use XNIO channels.
|
Modifier and Type | Method and Description |
---|---|
Pooled<ByteBuffer> |
XnioBufferPoolAdaptor.allocate() |
Modifier and Type | Class and Description |
---|---|
class |
ImmediatePooled<T>
Wrapper that allows you to use a non-pooed item as a pooled value
|
class |
PooledAdaptor |
Modifier and Type | Method and Description |
---|---|
Pooled<ByteBuffer[]> |
BufferedBinaryMessage.getData() |
Modifier and Type | Field and Description |
---|---|
static Pooled<ByteBuffer> |
Buffers.EMPTY_POOLED_BYTE_BUFFER
The empty pooled byte buffer.
|
Modifier and Type | Method and Description |
---|---|
Pooled<T> |
Pool.allocate()
Deprecated.
Allocate a resource from the pool.
|
Pooled<ByteBuffer> |
ByteBufferSlicePool.allocate()
Deprecated.
Allocate a resource from the pool.
|
static Pooled<ByteBuffer> |
Buffers.emptyPooledByteBuffer()
Create a "pooled" empty buffer.
|
static Pooled<ByteBuffer> |
Buffers.globalPooledWrapper(ByteBuffer buffer)
Create a pooled wrapper around a buffer that was allocated via
ByteBufferPool . |
static <B extends Buffer> |
Buffers.pooledWrapper(B buffer)
Create a pooled wrapper around a buffer.
|
Modifier and Type | Method and Description |
---|---|
static <T extends WritableMessageChannel> |
ChannelListeners.sendingChannelListener(Pooled<ByteBuffer> pooled,
ChannelListener<? super T> delegate,
ChannelExceptionHandler<? super T> exceptionHandler)
A sending channel listener.
|
static <T extends StreamSinkChannel> |
ChannelListeners.writingChannelListener(Pooled<ByteBuffer> pooled,
ChannelListener<? super T> delegate,
ChannelExceptionHandler<? super T> exceptionHandler)
A writing channel listener.
|
Modifier and Type | Method and Description |
---|---|
void |
PushBackStreamChannel.unget(Pooled<ByteBuffer> buffer)
Re-queue the given pooled buffer into this channel.
|
Constructor and Description |
---|
FramedMessageChannel(ConnectedStreamChannel channel,
Pooled<ByteBuffer> receiveBuffer,
Pooled<ByteBuffer> transmitBuffer)
Deprecated.
Construct a new instance.
|
FramedMessageChannel(ConnectedStreamChannel channel,
Pooled<ByteBuffer> receiveBuffer,
Pooled<ByteBuffer> transmitBuffer)
Deprecated.
Construct a new instance.
|
Modifier and Type | Method and Description |
---|---|
void |
PushBackStreamSourceConduit.pushBack(Pooled<ByteBuffer> pooledBuffer)
Push a buffer back to the head of the stream.
|
Constructor and Description |
---|
BufferedStreamSinkConduit(StreamSinkConduit next,
Pooled<ByteBuffer> pooledBuffer)
Construct a new instance.
|
BufferedStreamSourceConduit(StreamSourceConduit next,
Pooled<ByteBuffer> pooledBuffer)
Construct a new instance.
|
FramingMessageSinkConduit(StreamSinkConduit next,
boolean longLengths,
Pooled<ByteBuffer> transmitBuffer)
Construct a new instance.
|
FramingMessageSourceConduit(StreamSourceConduit next,
Pooled<ByteBuffer> receiveBuffer)
Construct a new instance.
|
Modifier and Type | Method and Description |
---|---|
Pooled<ByteBuffer> |
BufferPipeOutputStream.breakPipe()
Break the pipe and return any filling pooled buffer.
|
Pooled<ByteBuffer> |
BufferPipeOutputStream.BufferWriter.getBuffer(boolean firstBuffer)
Get a new buffer to be filled.
|
Modifier and Type | Method and Description |
---|---|
void |
BufferPipeOutputStream.BufferWriter.accept(Pooled<ByteBuffer> pooledBuffer,
boolean eof)
Accept a buffer.
|
void |
BufferPipeInputStream.InputHandler.acknowledge(Pooled<ByteBuffer> pooled)
Acknowledges the successful processing of an input buffer.
|
void |
BufferPipeInputStream.push(Pooled<ByteBuffer> pooledBuffer)
Push a buffer into the queue.
|
Copyright © 2017 JBoss by Red Hat. All rights reserved.