Top Deprecated By Reference
XNIO API 3.8.13.Final

Deprecated API


No API in this release is deprecated for removal.

Deprecated Item Summary

SinceDeprecated Item and Description
org.xnio.ByteString.getBytes(byte[]
the destination array
dest
)

Replaced by copyTo(byte[]).

org.xnio.ByteString.getBytes(byte[]
the destination array
dest
,
int
the offset into the destination array
offs
)

Replaced by copyTo(byte[], int).

org.xnio.ByteString.getBytes(byte[]
the destination array
dest
,
int
the offset into the destination array
offs
,
int
the maximum number of bytes to copy
len
)

Replaced by copyTo(byte[], int, int).

Returns:

the setter
org.xnio.ChannelListeners.getSetter
(final C
the channel
channel
,
final AtomicReferenceFieldUpdater<C, ChannelListener<T extends Channel>>
the updater
updater
)

Not recommended as a security manager will enforce unreasonable restrictions on the updater.

org.xnio.Options.WORKER_ACCEPT_THREADS

This option is now ignored. All I/O threads are used for accept, except in the case of split read/write threads, in which case only read or write threads will be used as determined by WORKER_ESTABLISH_WRITING.

org.xnio.Pool<
the resource type
T
>

See ByteBufferPool.

org.xnio.Pooled<
the pooled resource type
T
>

See ByteBufferPool.

Returns:

the future connection
org.xnio.XnioWorker.acceptDatagram
(SocketAddress
the destination (bind) address
destination
,
ChannelListener<? super ConnectedMessageChannel>
the listener which will be notified when the channel is open, or null for none
openListener
,
ChannelListener<? super BoundChannel>
the listener which will be notified when the acceptor is bound, or null for none
bindListener
,
OptionMap
the option map
optionMap
)

Returns:

the future connection
org.xnio.XnioWorker.acceptStream
(SocketAddress
the destination (bind) address
destination
,
ChannelListener<? super ConnectedStreamChannel>
the listener which will be notified when the channel is open, or null for none
openListener
,
ChannelListener<? super BoundChannel>
the listener which will be notified when the acceptor is bound, or null for none
bindListener
,
OptionMap
the option map
optionMap
)

Returns:

the future result of this operation
org.xnio.XnioWorker.connectDatagram
(SocketAddress
the destination address
destination
,
ChannelListener<? super ConnectedMessageChannel>
the listener which will be notified when the channel is open, or null for none
openListener
,
ChannelListener<? super BoundChannel>
the listener which will be notified when the channel is bound, or null for none
bindListener
,
OptionMap
the option map
optionMap
)

Returns:

the future result of this operation
org.xnio.XnioWorker.connectDatagram
(SocketAddress
the local address to bind to
bindAddress
,
SocketAddress
the destination address
destination
,
ChannelListener<? super ConnectedMessageChannel>
the listener which will be notified when the channel is open, or null for none
openListener
,
ChannelListener<? super BoundChannel>
the listener which will be notified when the channel is bound, or null for none
bindListener
,
OptionMap
the option map
optionMap
)

Returns:

the future result of this operation
org.xnio.XnioWorker.connectStream
(SocketAddress
the destination address
destination
,
ChannelListener<? super ConnectedStreamChannel>
the listener which will be notified when the channel is open, or null for none
openListener
,
OptionMap
the option map
optionMap
)

Returns:

the future result of this operation
org.xnio.XnioWorker.connectStream
(SocketAddress
the destination address
destination
,
ChannelListener<? super ConnectedStreamChannel>
the listener which will be notified when the channel is open, or null for none
openListener
,
ChannelListener<? super BoundChannel>
the listener which will be notified when the channel is bound, or null for none
bindListener
,
OptionMap
the option map
optionMap
)

Returns:

the future result of this operation
org.xnio.XnioWorker.connectStream
(SocketAddress
the local address to bind to
bindAddress
,
SocketAddress
the destination address
destination
,
ChannelListener<? super ConnectedStreamChannel>
the listener which will be notified when the channel is open, or null for none
openListener
,
ChannelListener<? super BoundChannel>
the listener which will be notified when the channel is bound, or null for none
bindListener
,
OptionMap
the option map
optionMap
)

org.xnio.XnioWorker.createOneWayPipe(ChannelListener<? super StreamSourceChannel>
the source open listener
sourceListener
,
ChannelListener<? super StreamSinkChannel>
the sink open listener
sinkListener
,
final OptionMap
the pipe channel configuration
optionMap
)

Users should prefer the simpler createHalfDuplexPipe() instead.

org.xnio.XnioWorker.createPipe(ChannelListener<? super StreamChannel>
the left-hand open listener
leftOpenListener
,
ChannelListener<? super StreamChannel>
the right-hand open listener
rightOpenListener
,
final OptionMap
the pipe channel configuration
optionMap
)

Users should prefer the simpler createFullDuplexPipe() instead.

Returns:

the acceptor
org.xnio.XnioWorker.createStreamServer
(SocketAddress
the address to bind to
bindAddress
,
ChannelListener<? super AcceptingChannel<ConnectedStreamChannel>>
the initial accept listener
acceptListener
,
OptionMap
the initial configuration for the server
optionMap
)

org.xnio.channels.FramedMessageChannel

This class is deprecated; use conduits instead.

Returns:

the thread
org.xnio.channels.SuspendableAcceptChannel.getAcceptThread
()

The getIoThread() method should be used instead.

org.xnio.channels.SuspendableAcceptChannel.wakeupAccepts()

Users should instead submit Runnable tasks to the channel thread when this functionality is needed.

Returns:

the thread, or null if none is configured or available
org.xnio.channels.SuspendableReadChannel.getReadThread
()

The getIoThread() method should be used instead.

org.xnio.channels.SuspendableReadChannel.wakeupReads()

Users should instead submit Runnable tasks to the channel thread when this functionality is needed.

Returns:

the thread, or null if none is configured or available
org.xnio.channels.SuspendableWriteChannel.getWriteThread
()

The getIoThread() method should be used instead.

org.xnio.channels.SuspendableWriteChannel.wakeupWrites()

Users should instead submit Runnable tasks to the channel thread when this functionality is needed.

org.xnio.channels.TranslatingSuspendableChannel<
the channel type implemented by this class
C extends SuspendableChannel
,
the channel type being wrapped by this class
W extends SuspendableChannel
>

This class is deprecated; use conduits instead.

Returns:

the SSL connection
org.xnio.ssl.XnioSsl.connectSsl
(XnioWorker
the worker to use
worker
,
InetSocketAddress
the destination connection address
destination
,
ChannelListener<? super ConnectedSslStreamChannel>
the initial open-connection listener
openListener
,
OptionMap
the option map
optionMap
)

Returns:

the SSL connection
org.xnio.ssl.XnioSsl.connectSsl
(final XnioWorker
the worker to use
worker
,
final InetSocketAddress
the destination connection address
destination
,
final ChannelListener<? super ConnectedSslStreamChannel>
the initial open-connection listener
openListener
,
final ChannelListener<? super BoundChannel>
the bind listener
bindListener
,
final OptionMap
the option map
optionMap
)

Returns:

the SSL connection
org.xnio.ssl.XnioSsl.connectSsl
(final XnioWorker
the worker to use
worker
,
final InetSocketAddress
the local bind address
bindAddress
,
final InetSocketAddress
the destination connection address
destination
,
final ChannelListener<? super ConnectedSslStreamChannel>
the initial open-connection listener
openListener
,
final OptionMap
the option map
optionMap
)

Returns:

the SSL connection
org.xnio.ssl.XnioSsl.connectSsl
(XnioWorker
the worker to use
worker
,
InetSocketAddress
the local bind address
bindAddress
,
InetSocketAddress
the destination connection address
destination
,
ChannelListener<? super ConnectedSslStreamChannel>
the initial open-connection listener
openListener
,
ChannelListener<? super BoundChannel>
the bind listener
bindListener
,
OptionMap
the option map
optionMap
)

Returns:

the unbound TCP SSL server
org.xnio.ssl.XnioSsl.createSslTcpServer
(XnioWorker
the worker to use
worker
,
InetSocketAddress
the address to bind to
bindAddress
,
ChannelListener<? super AcceptingChannel<ConnectedSslStreamChannel>>
the initial accept listener
acceptListener
,
OptionMap
the initial configuration for the server
optionMap
)

Deprecated Reference Summary

SinceItem with Deprecated Reference and Description
org.xnio.Buffers.EMPTY_POOLED_BYTE_BUFFER

Pooled is deprecated or references (maybe indirectly) at least one deprecated element.

Returns:

the buffer pool
org.xnio.Buffers.allocatedBufferPool
(final BufferAllocator<B>
the buffer allocator
allocator
,
final int
the buffer size
size
)

Pool is deprecated or references (maybe indirectly) at least one deprecated element.

Returns:

a new pooled empty buffer
org.xnio.Buffers.emptyPooledByteBuffer
()

Pooled is deprecated or references (maybe indirectly) at least one deprecated element.

Returns:

the pooled wrapper
org.xnio.Buffers.globalPooledWrapper
(final ByteBuffer
the buffer to wrap
buffer
)

Pooled is deprecated or references (maybe indirectly) at least one deprecated element.

Returns:

true if it is a secure pool instance
org.xnio.Buffers.isSecureBufferPool
(Pool<?>
the pool to test
pool
)

Pool is deprecated or references (maybe indirectly) at least one deprecated element.

Returns:

the pooled wrapper
org.xnio.Buffers.pooledWrapper
(final B
the buffer to wrap
buffer
)

Pooled is deprecated or references (maybe indirectly) at least one deprecated element.

Returns:

the wrapper pool
org.xnio.Buffers.secureBufferPool
(final Pool<ByteBuffer>
the delegate pool
delegate
)

Pool is deprecated or references (maybe indirectly) at least one deprecated element.

org.xnio.Buffers.SecureByteBufferPool

Pool is deprecated or references (maybe indirectly) at least one deprecated element.

org.xnio.Buffers.SecureByteBufferPool.delegate

Pool is deprecated or references (maybe indirectly) at least one deprecated element.

org.xnio.Buffers.SecureByteBufferPool(final Pool<ByteBuffer> delegate)

Pool is deprecated or references (maybe indirectly) at least one deprecated element.

org.xnio.Buffers.SecureByteBufferPool.allocate()

Pooled is deprecated or references (maybe indirectly) at least one deprecated element.

org.xnio.Buffers.SecurePooledByteBuffer

Pooled is deprecated or references (maybe indirectly) at least one deprecated element.

org.xnio.Buffers.SecurePooledByteBuffer.allocated

Pooled is deprecated or references (maybe indirectly) at least one deprecated element.

org.xnio.Buffers.SecurePooledByteBuffer(final Pooled<ByteBuffer> allocated)

Pooled is deprecated or references (maybe indirectly) at least one deprecated element.

org.xnio.ByteBufferSlicePool.allocate()

Pooled is deprecated or references (maybe indirectly) at least one deprecated element.

org.xnio.ByteBufferSlicePool.PooledByteBuffer

Pooled is deprecated or references (maybe indirectly) at least one deprecated element.

org.xnio.ByteBufferSlicePool.Ref

AutomaticReference is deprecated or references (maybe indirectly) at least one deprecated element.

org.xnio.ByteBufferSlicePool.ThreadLocalCache(ByteBufferSlicePool pool)

ByteBufferSlicePool is deprecated or references (maybe indirectly) at least one deprecated element.

org.xnio.ByteBufferSlicePool.ThreadLocalCacheWrapper(ByteBufferSlicePool pool)

ByteBufferSlicePool is deprecated or references (maybe indirectly) at least one deprecated element.

org.xnio.ChannelListeners.initiateTransfer(final I
the source channel
source
,
final O
the target channel
sink
,
Pool<ByteBuffer>
the pool from which the transfer buffer should be allocated
pool
)

Pool is deprecated or references (maybe indirectly) at least one deprecated element.

org.xnio.ChannelListeners.initiateTransfer(long
the number of bytes to transfer, or Long#MAX_VALUE to transfer all remaining bytes
count
,
final I
the source channel
source
,
final O
the target channel
sink
,
final ChannelListener<? super I>
the source listener to set and call when the transfer is complete, or null to clear the listener at that time
sourceListener
,
final ChannelListener<? super O>
the target listener to set and call when the transfer is complete, or null to clear the listener at that time
sinkListener
,
final ChannelExceptionHandler<? super I>
the read exception handler to call if an error occurs during a read operation
readExceptionHandler
,
final ChannelExceptionHandler<? super O>
the write exception handler to call if an error occurs during a write operation
writeExceptionHandler
,
Pool<ByteBuffer>
the pool from which the transfer buffer should be allocated
pool
)

Pool is deprecated or references (maybe indirectly) at least one deprecated element.

Returns:

the sending channel listener
org.xnio.ChannelListeners.sendingChannelListener
(final Pooled<ByteBuffer>
the buffer to send
pooled
,
final ChannelListener<? super T>
the delegate listener
delegate
,
final ChannelExceptionHandler<? super T>
the exception handler
exceptionHandler
)

Pooled is deprecated or references (maybe indirectly) at least one deprecated element.

Returns:

the writing channel listener
org.xnio.ChannelListeners.writingChannelListener
(final Pooled<ByteBuffer>
the buffer to write
pooled
,
final ChannelListener<? super T>
the delegate listener
delegate
,
final ChannelExceptionHandler<? super T>
the exception handler
exceptionHandler
)

Pooled is deprecated or references (maybe indirectly) at least one deprecated element.

org.xnio.ChannelListeners.TransferListener.pooledBuffer

Pooled is deprecated or references (maybe indirectly) at least one deprecated element.

org.xnio.ChannelListeners.TransferListener(final long count, final Pooled<ByteBuffer> pooledBuffer, final I source, final O sink, final ChannelListener<? super I> sourceListener, final ChannelListener<? super O> sinkListener, final ChannelExceptionHandler<? super O> writeExceptionHandler, final ChannelExceptionHandler<? super I> readExceptionHandler, final int state)

Pooled is deprecated or references (maybe indirectly) at least one deprecated element.

org.xnio.Pool.DIRECT

Pool is deprecated or references (maybe indirectly) at least one deprecated element.

org.xnio.Pool.HEAP

Pool is deprecated or references (maybe indirectly) at least one deprecated element.

Returns:

the resource
org.xnio.Pool.allocate
()

Pooled is deprecated or references (maybe indirectly) at least one deprecated element.

org.xnio.channels.PushBackStreamChannel.unget(Pooled<ByteBuffer>
the buffer to re-queue
buffer
)

Pooled is deprecated or references (maybe indirectly) at least one deprecated element.

org.xnio.channels.PushBackStreamChannel.BufferHolder.buffer

Pooled is deprecated or references (maybe indirectly) at least one deprecated element.

org.xnio.channels.PushBackStreamChannel.BufferHolder(final StreamSourceChannel next, final Pooled<ByteBuffer> buffer)

Pooled is deprecated or references (maybe indirectly) at least one deprecated element.

org.xnio.channels.FramedMessageChannel.receiveBuffer

Pooled is deprecated or references (maybe indirectly) at least one deprecated element.

org.xnio.channels.FramedMessageChannel.transmitBuffer

Pooled is deprecated or references (maybe indirectly) at least one deprecated element.

org.xnio.channels.FramedMessageChannel(final ConnectedStreamChannel
the channel to wrap
channel
,
final Pooled<ByteBuffer>
the receive buffer (should be direct)
receiveBuffer
,
final Pooled<ByteBuffer>
the send buffer (should be direct)
transmitBuffer
)

Pooled is deprecated or references (maybe indirectly) at least one deprecated element.

org.xnio.ssl.AbstractAcceptingSslChannel.applicationBufferPool

Pool is deprecated or references (maybe indirectly) at least one deprecated element.

org.xnio.ssl.AbstractAcceptingSslChannel.socketBufferPool

Pool is deprecated or references (maybe indirectly) at least one deprecated element.

org.xnio.ssl.AbstractAcceptingSslChannel(final SSLContext sslContext, final AcceptingChannel<? extends S> tcpServer, final OptionMap optionMap, final Pool<ByteBuffer> socketBufferPool, final Pool<ByteBuffer> applicationBufferPool, final boolean startTls)

Pool is deprecated or references (maybe indirectly) at least one deprecated element.

org.xnio.ssl.JsseAcceptingSslStreamConnection(final SSLContext sslContext, final AcceptingChannel<? extends StreamConnection> tcpServer, final OptionMap optionMap, final Pool<ByteBuffer> socketBufferPool, final Pool<ByteBuffer> applicationBufferPool, final boolean startTls)

Pool is deprecated or references (maybe indirectly) at least one deprecated element.

org.xnio.ssl.JsseSslConduitEngine.readBuffer

Pooled is deprecated or references (maybe indirectly) at least one deprecated element.

org.xnio.ssl.JsseSslConduitEngine.receiveBuffer

Pooled is deprecated or references (maybe indirectly) at least one deprecated element.

org.xnio.ssl.JsseSslConduitEngine.sendBuffer

Pooled is deprecated or references (maybe indirectly) at least one deprecated element.

org.xnio.ssl.JsseSslConduitEngine(final JsseSslStreamConnection
the ssl connection associated with this engine
connection
,
final StreamSinkConduit
the sink channel to use for write operations
sinkConduit
,
final StreamSourceConduit
the source channel to use for read operations
sourceConduit
,
final SSLEngine
the SSL engine to use
engine
,
final Pool<ByteBuffer>
the socket buffer pool
socketBufferPool
,
final Pool<ByteBuffer>
the application buffer pool
applicationBufferPool
)

Pool is deprecated or references (maybe indirectly) at least one deprecated element.

org.xnio.ssl.JsseSslConnection(final StreamConnection streamConnection, final SSLEngine engine, final Pool<ByteBuffer> socketBufferPool, final Pool<ByteBuffer> applicationBufferPool)

Pool is deprecated or references (maybe indirectly) at least one deprecated element.

org.xnio.ssl.JsseSslStreamConnection(StreamConnection connection, SSLEngine sslEngine, final Pool<ByteBuffer> socketBufferPool, final Pool<ByteBuffer> applicationBufferPool, final boolean startTls)

Pool is deprecated or references (maybe indirectly) at least one deprecated element.

org.xnio.ssl.JsseStreamConduit.readBuffer

Pooled is deprecated or references (maybe indirectly) at least one deprecated element.

org.xnio.ssl.JsseStreamConduit.receiveBuffer

Pooled is deprecated or references (maybe indirectly) at least one deprecated element.

org.xnio.ssl.JsseStreamConduit.sendBuffer

Pooled is deprecated or references (maybe indirectly) at least one deprecated element.

org.xnio.ssl.JsseStreamConduit(final JsseSslConnection connection, final SSLEngine engine, final StreamSourceConduit sourceConduit, final StreamSinkConduit sinkConduit, final Pool<ByteBuffer> socketBufferPool, final Pool<ByteBuffer> applicationBufferPool)

Pool is deprecated or references (maybe indirectly) at least one deprecated element.

org.xnio.ssl.JsseXnioSsl.bufferPool

Pool is deprecated or references (maybe indirectly) at least one deprecated element.

org.xnio.conduits.FramingMessageSourceConduit.receiveBuffer

Pooled is deprecated or references (maybe indirectly) at least one deprecated element.

org.xnio.conduits.FramingMessageSourceConduit(final StreamSourceConduit
the delegate conduit to set
next
,
final Pooled<ByteBuffer>
the transmit buffer to use
receiveBuffer
)

Pooled is deprecated or references (maybe indirectly) at least one deprecated element.

org.xnio.conduits.BufferedStreamSinkConduit.pooledBuffer

Pooled is deprecated or references (maybe indirectly) at least one deprecated element.

org.xnio.conduits.BufferedStreamSinkConduit(final StreamSinkConduit
the delegate conduit to set
next
,
final Pooled<ByteBuffer>
the pooled buffer to use
pooledBuffer
)

Pooled is deprecated or references (maybe indirectly) at least one deprecated element.

org.xnio.conduits.BufferedStreamSourceConduit.pooledBuffer

Pooled is deprecated or references (maybe indirectly) at least one deprecated element.

org.xnio.conduits.BufferedStreamSourceConduit(final StreamSourceConduit
the delegate conduit to set
next
,
final Pooled<ByteBuffer>
the buffer to use
pooledBuffer
)

Pooled is deprecated or references (maybe indirectly) at least one deprecated element.

org.xnio.conduits.FramingMessageSinkConduit.transmitBuffer

Pooled is deprecated or references (maybe indirectly) at least one deprecated element.

org.xnio.conduits.FramingMessageSinkConduit(final StreamSinkConduit
the delegate conduit to set
next
,
final boolean
true to use 4-byte lengths, false to use 2-byte lengths
longLengths
,
final Pooled<ByteBuffer>
the transmit buffer to use
transmitBuffer
)

Pooled is deprecated or references (maybe indirectly) at least one deprecated element.

org.xnio.conduits.PushBackStreamSourceConduit.pushBack(Pooled<ByteBuffer>
the buffer to push back
pooledBuffer
)

Pooled is deprecated or references (maybe indirectly) at least one deprecated element.

org.xnio.conduits.PushBackStreamSourceConduit.BufferConduit.pooledBuffer

Pooled is deprecated or references (maybe indirectly) at least one deprecated element.

org.xnio.conduits.PushBackStreamSourceConduit.BufferConduit(final StreamSourceConduit next, final Pooled<ByteBuffer> pooledBuffer)

Pooled is deprecated or references (maybe indirectly) at least one deprecated element.

org.xnio.streams.BufferPipeInputStream.push(final Pooled<ByteBuffer>
the buffer from which more data should be read
pooledBuffer
)

Pooled is deprecated or references (maybe indirectly) at least one deprecated element.

org.xnio.streams.BufferPipeInputStream.InputHandler.acknowledge(Pooled<ByteBuffer>
the pooled resource which was consumed
pooled
)

Pooled is deprecated or references (maybe indirectly) at least one deprecated element.

org.xnio.streams.BufferPipeOutputStream.buffer

Pooled is deprecated or references (maybe indirectly) at least one deprecated element.

Returns:

the current pooled buffer, or null if none was pending
org.xnio.streams.BufferPipeOutputStream.breakPipe
()

Pooled is deprecated or references (maybe indirectly) at least one deprecated element.

org.xnio.streams.BufferPipeOutputStream.getBuffer()

Pooled is deprecated or references (maybe indirectly) at least one deprecated element.

org.xnio.streams.BufferPipeOutputStream.send(Pooled<ByteBuffer> buffer, boolean eof)

Pooled is deprecated or references (maybe indirectly) at least one deprecated element.

org.xnio.streams.BufferPipeOutputStream.BufferWriter.accept(Pooled<ByteBuffer>
the buffer to send
pooledBuffer
,
boolean
true if this is the last buffer which will be sent
eof
)

Pooled is deprecated or references (maybe indirectly) at least one deprecated element.

Returns:

the new buffer
org.xnio.streams.BufferPipeOutputStream.BufferWriter.getBuffer
(boolean
true if this is the first buffer in the stream, false otherwise
firstBuffer
)

Pooled is deprecated or references (maybe indirectly) at least one deprecated element.