Package | Description |
---|---|
org.xnio |
The main API package for XNIO.
|
org.xnio.channels | |
org.xnio.streams |
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()
Allocate a resource from the pool.
|
Pooled<ByteBuffer> |
ByteBufferSlicePool.allocate()
Allocate a resource from the pool.
|
static <B extends Buffer> |
Buffers.pooledWrapper(B buffer)
Create a pooled wrapper around a buffer.
|
Constructor and Description |
---|
FramedMessageChannel(ConnectedStreamChannel channel,
Pooled<ByteBuffer> receiveBuffer,
Pooled<ByteBuffer> transmitBuffer)
Construct a new instance.
|
FramedMessageChannel(ConnectedStreamChannel channel,
Pooled<ByteBuffer> receiveBuffer,
Pooled<ByteBuffer> transmitBuffer)
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 © 2018 JBoss by Red Hat. All rights reserved.