Package | Description |
---|---|
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 | Field and Description |
---|---|
static Pooled<java.nio.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<java.nio.ByteBuffer> |
ByteBufferSlicePool.allocate()
Deprecated.
Allocate a resource from the pool.
|
static Pooled<java.nio.ByteBuffer> |
Buffers.emptyPooledByteBuffer()
Create a "pooled" empty buffer.
|
static Pooled<java.nio.ByteBuffer> |
Buffers.globalPooledWrapper(java.nio.ByteBuffer buffer)
Create a pooled wrapper around a buffer that was allocated via
ByteBufferPool . |
static <B extends java.nio.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<java.nio.ByteBuffer> pooled,
ChannelListener<? super T> delegate,
ChannelExceptionHandler<? super T> exceptionHandler)
A sending channel listener.
|
static <T extends StreamSinkChannel> |
ChannelListeners.writingChannelListener(Pooled<java.nio.ByteBuffer> pooled,
ChannelListener<? super T> delegate,
ChannelExceptionHandler<? super T> exceptionHandler)
A writing channel listener.
|
Modifier and Type | Method and Description |
---|---|
void |
PushBackStreamChannel.unget(Pooled<java.nio.ByteBuffer> buffer)
Re-queue the given pooled buffer into this channel.
|
Constructor and Description |
---|
FramedMessageChannel(ConnectedStreamChannel channel,
Pooled<java.nio.ByteBuffer> receiveBuffer,
Pooled<java.nio.ByteBuffer> transmitBuffer)
Deprecated.
Construct a new instance.
|
FramedMessageChannel(ConnectedStreamChannel channel,
Pooled<java.nio.ByteBuffer> receiveBuffer,
Pooled<java.nio.ByteBuffer> transmitBuffer)
Deprecated.
Construct a new instance.
|
Modifier and Type | Method and Description |
---|---|
void |
PushBackStreamSourceConduit.pushBack(Pooled<java.nio.ByteBuffer> pooledBuffer)
Push a buffer back to the head of the stream.
|
Constructor and Description |
---|
BufferedStreamSinkConduit(StreamSinkConduit next,
Pooled<java.nio.ByteBuffer> pooledBuffer)
Construct a new instance.
|
BufferedStreamSourceConduit(StreamSourceConduit next,
Pooled<java.nio.ByteBuffer> pooledBuffer)
Construct a new instance.
|
FramingMessageSinkConduit(StreamSinkConduit next,
boolean longLengths,
Pooled<java.nio.ByteBuffer> transmitBuffer)
Construct a new instance.
|
FramingMessageSourceConduit(StreamSourceConduit next,
Pooled<java.nio.ByteBuffer> receiveBuffer)
Construct a new instance.
|
Modifier and Type | Method and Description |
---|---|
Pooled<java.nio.ByteBuffer> |
BufferPipeOutputStream.breakPipe()
Break the pipe and return any filling pooled buffer.
|
Pooled<java.nio.ByteBuffer> |
BufferPipeOutputStream.BufferWriter.getBuffer(boolean firstBuffer)
Get a new buffer to be filled.
|
Modifier and Type | Method and Description |
---|---|
void |
BufferPipeOutputStream.BufferWriter.accept(Pooled<java.nio.ByteBuffer> pooledBuffer,
boolean eof)
Accept a buffer.
|
void |
BufferPipeInputStream.InputHandler.acknowledge(Pooled<java.nio.ByteBuffer> pooled)
Acknowledges the successful processing of an input buffer.
|
void |
BufferPipeInputStream.push(Pooled<java.nio.ByteBuffer> pooledBuffer)
Push a buffer into the queue.
|
Copyright © 2016 JBoss, a division of Red Hat, Inc.