Package | Description |
---|---|
io.netty.buffer |
Abstraction of a byte buffer - the fundamental data structure
to represent a low-level binary and text message.
|
io.netty.channel |
The core channel API which is asynchronous and event-driven abstraction of
various transports such as a
NIO Channel.
|
io.netty.channel.epoll |
Optimized transport for linux which uses EPOLL Edge-Triggered Mode
for maximal performance.
|
io.netty.channel.kqueue |
BSD specific transport.
|
io.netty.channel.local |
A virtual transport that enables the communication between the two
parties in the same virtual machine.
|
io.netty.channel.nio |
NIO-based channel
API implementation - recommended for a large number of connections (>= 1000).
|
io.netty.channel.oio |
Old blocking I/O based channel API implementation - recommended for
a small number of connections (< 1000).
|
io.netty.channel.sctp |
Abstract SCTP socket interfaces which extend the core channel API.
|
io.netty.channel.socket |
Abstract TCP and UDP socket interfaces which extend the core channel API.
|
io.netty.channel.socket.nio |
NIO-based socket channel
API implementation - recommended for a large number of connections (>= 1000).
|
io.netty.channel.socket.oio |
Old blocking I/O based socket channel API implementation - recommended for
a small number of connections (< 1000).
|
io.netty.channel.unix |
Unix specific transport.
|
io.netty.handler.codec |
Extensible decoder and its common implementations which deal with the
packet fragmentation and reassembly issue found in a stream-based transport
such as TCP/IP.
|
io.netty.handler.codec.base64 | |
io.netty.handler.codec.bytes |
Encoder and decoder which transform an array of bytes into a
ByteBuf and vice versa. |
io.netty.handler.codec.compression | |
io.netty.handler.codec.dns |
DNS codec.
|
io.netty.handler.codec.haproxy |
Decodes an HAProxy proxy protocol header
|
io.netty.handler.codec.http |
Encoder, decoder and their related message types for HTTP.
|
io.netty.handler.codec.http.multipart |
HTTP multipart support.
|
io.netty.handler.codec.http.websocketx |
Encoder, decoder, handshakers and their related message types for
Web Socket data frames.
|
io.netty.handler.codec.http2 |
Handlers for sending and receiving HTTP/2 frames.
|
io.netty.handler.codec.json |
JSON specific codecs.
|
io.netty.handler.codec.memcache |
Common superset of ascii and binary classes.
|
io.netty.handler.codec.memcache.binary |
Implementations and Interfaces for the Memcache Binary protocol.
|
io.netty.handler.codec.mqtt |
Encoder, decoder and different Message Types for MQTT.
|
io.netty.handler.codec.redis |
Encoder, decoder for Redis.
|
io.netty.handler.codec.rtsp |
An RTSP
extension based on the HTTP codec.
|
io.netty.handler.codec.sctp |
Decoder and encoders to manage message completion and multi-streaming codec in SCTP/IP.
|
io.netty.handler.codec.serialization |
Encoder, decoder and their compatibility stream implementations which
transform a
Serializable object into a byte buffer and
vice versa. |
io.netty.handler.codec.smtp |
SMTP codec.
|
io.netty.handler.codec.socks |
Encoder, decoder and their related message types for Socks.
|
io.netty.handler.codec.socksx |
Encoder, decoder and their related message types for SOCKS protocol.
|
io.netty.handler.codec.socksx.v4 |
Encoder, decoder and their related message types for SOCKSv4 protocol.
|
io.netty.handler.codec.socksx.v5 |
Encoder, decoder and their related message types for SOCKSv5 protocol.
|
io.netty.handler.codec.spdy |
Encoder, decoder, session handler and their related message types for the SPDY protocol.
|
io.netty.handler.codec.stomp |
STOMP codec
|
io.netty.handler.codec.string |
Encoder and decoder which transform a
String into a
ByteBuf and vice versa. |
io.netty.handler.codec.xml |
Xml specific codecs.
|
io.netty.handler.logging |
Logs the I/O events for debugging purpose.
|
io.netty.handler.ssl |
SSL ·
TLS implementation based on
SSLEngine |
io.netty.handler.stream |
Writes very large data stream asynchronously neither spending a lot of
memory nor getting
OutOfMemoryError . |
io.netty.resolver.dns |
An alternative to Java's built-in domain name lookup mechanism that resolves a domain name asynchronously,
which supports the queries of an arbitrary DNS record type as well.
|
Class and Description |
---|
AbstractByteBuf
A skeletal implementation of a buffer.
|
AbstractByteBufAllocator
Skeletal
ByteBufAllocator implementation to extend. |
AbstractDerivedByteBuf
Deprecated.
Do not use.
|
AbstractPooledDerivedByteBuf
Abstract base class for derived
ByteBuf implementations. |
AbstractReferenceCountedByteBuf
Abstract base class for
ByteBuf implementations that count references. |
AbstractUnpooledSlicedByteBuf |
AbstractUnsafeSwappedByteBuf
Special
SwappedByteBuf for ByteBuf s that is using unsafe. |
AdvancedLeakAwareByteBuf |
ByteBuf
A random and sequential accessible sequence of zero or more bytes (octets).
|
ByteBufAllocator
Implementations are responsible to allocate buffers.
|
ByteBufAllocatorMetric |
ByteBufAllocatorMetricProvider |
ByteBufHolder
A packet which is send or receive.
|
ByteBufProcessor
Deprecated.
Use
ByteProcessor . |
ByteBufUtil.ThreadLocalDirectByteBuf |
ByteBufUtil.ThreadLocalUnsafeDirectByteBuf |
CompositeByteBuf
A virtual buffer which shows multiple buffers as a single merged buffer.
|
CompositeByteBuf.Component |
DuplicatedByteBuf
Deprecated.
Do not use.
|
EmptyByteBuf
An empty
ByteBuf whose capacity and maximum capacity are all 0 . |
FixedCompositeByteBuf.Component |
PoolArena |
PoolArena.SizeClass |
PoolArenaMetric
Expose metrics for an arena.
|
PoolChunk
Description of algorithm for PageRun/PoolSubpage allocation from PoolChunk
Notation: The following terms are important to understand the code
> page - a page is the smallest unit of memory chunk that can be allocated
> chunk - a chunk is a collection of pages
> in this code chunkSize = 2^{maxOrder} * pageSize
To begin we allocate a byte array of size = chunkSize
Whenever a ByteBuf of given size needs to be created we search for the first position
in the byte array that has enough empty space to accommodate the requested size and
return a (long) handle that encodes this offset information, (this memory segment is then
marked as reserved so it is always used by exactly one ByteBuf and no more)
For simplicity all sizes are normalized according to PoolArena#normalizeCapacity method
This ensures that when we request for memory segments of size >= pageSize the normalizedCapacity
equals the next nearest power of 2
To search for the first offset in chunk that has at least requested size available we construct a
complete balanced binary tree and store it in an array (just like heaps) - memoryMap
The tree looks like this (the size of each node being mentioned in the parenthesis)
depth=0 1 node (chunkSize)
depth=1 2 nodes (chunkSize/2)
..
|
PoolChunkList |
PoolChunkListMetric
Metrics for a list of chunks.
|
PoolChunkMetric
Metrics for a chunk.
|
PooledByteBuf |
PooledByteBufAllocator |
PooledByteBufAllocator.PoolThreadLocalCache |
PooledByteBufAllocatorMetric
Exposed metric for
PooledByteBufAllocator . |
PooledDirectByteBuf |
PooledDuplicatedByteBuf |
PooledHeapByteBuf |
PooledSlicedByteBuf |
PooledUnsafeDirectByteBuf |
PooledUnsafeHeapByteBuf |
PoolSubpage |
PoolSubpageMetric
Metrics for a sub-page.
|
PoolThreadCache
Acts a Thread cache for allocations.
|
PoolThreadCache.MemoryRegionCache |
PoolThreadCache.MemoryRegionCache.Entry |
ReadOnlyByteBufferBuf
Read-only ByteBuf which wraps a read-only ByteBuffer.
|
SimpleLeakAwareByteBuf |
SimpleLeakAwareCompositeByteBuf |
SwappedByteBuf
Deprecated.
use the Little Endian accessors, e.g.
getShortLE , getIntLE
instead. |
UnpooledByteBufAllocator
Simplistic
ByteBufAllocator implementation that does not pool anything. |
UnpooledByteBufAllocator.UnpooledByteBufAllocatorMetric |
UnpooledDirectByteBuf
A NIO
ByteBuffer based buffer. |
UnpooledDuplicatedByteBuf
DuplicatedByteBuf implementation that can do optimizations because it knows the duplicated buffer
is of type AbstractByteBuf . |
UnpooledHeapByteBuf
Big endian Java heap buffer implementation.
|
UnpooledSlicedByteBuf
A special
AbstractUnpooledSlicedByteBuf that can make optimizations because it knows the sliced buffer is of
type AbstractByteBuf . |
UnpooledUnsafeDirectByteBuf
A NIO
ByteBuffer based buffer. |
UnpooledUnsafeHeapByteBuf |
UnpooledUnsafeNoCleanerDirectByteBuf |
WrappedByteBuf
Wraps another
ByteBuf . |
WrappedCompositeByteBuf |
Class and Description |
---|
ByteBuf
A random and sequential accessible sequence of zero or more bytes (octets).
|
ByteBufAllocator
Implementations are responsible to allocate buffers.
|
Class and Description |
---|
ByteBuf
A random and sequential accessible sequence of zero or more bytes (octets).
|
ByteBufAllocator
Implementations are responsible to allocate buffers.
|
Class and Description |
---|
ByteBuf
A random and sequential accessible sequence of zero or more bytes (octets).
|
ByteBufAllocator
Implementations are responsible to allocate buffers.
|
Class and Description |
---|
ByteBuf
A random and sequential accessible sequence of zero or more bytes (octets).
|
ByteBufAllocator
Implementations are responsible to allocate buffers.
|
CompositeByteBuf
A virtual buffer which shows multiple buffers as a single merged buffer.
|
Class and Description |
---|
ByteBuf
A random and sequential accessible sequence of zero or more bytes (octets).
|
Class and Description |
---|
ByteBuf
A random and sequential accessible sequence of zero or more bytes (octets).
|
Class and Description |
---|
ByteBuf
A random and sequential accessible sequence of zero or more bytes (octets).
|
ByteBufAllocator
Implementations are responsible to allocate buffers.
|
ByteBufHolder
A packet which is send or receive.
|
DefaultByteBufHolder
Default implementation of a
ByteBufHolder that holds it's data in a ByteBuf . |
Class and Description |
---|
ByteBuf
A random and sequential accessible sequence of zero or more bytes (octets).
|
ByteBufAllocator
Implementations are responsible to allocate buffers.
|
ByteBufHolder
A packet which is send or receive.
|
Class and Description |
---|
ByteBuf
A random and sequential accessible sequence of zero or more bytes (octets).
|
Class and Description |
---|
ByteBuf
A random and sequential accessible sequence of zero or more bytes (octets).
|
ByteBufAllocator
Implementations are responsible to allocate buffers.
|
Class and Description |
---|
ByteBuf
A random and sequential accessible sequence of zero or more bytes (octets).
|
ByteBufAllocator
Implementations are responsible to allocate buffers.
|
Class and Description |
---|
ByteBuf
A random and sequential accessible sequence of zero or more bytes (octets).
|
ByteBufAllocator
Implementations are responsible to allocate buffers.
|
ByteBufHolder
A packet which is send or receive.
|
CompositeByteBuf
A virtual buffer which shows multiple buffers as a single merged buffer.
|
SwappedByteBuf
Deprecated.
use the Little Endian accessors, e.g.
getShortLE , getIntLE
instead. |
Class and Description |
---|
ByteBuf
A random and sequential accessible sequence of zero or more bytes (octets).
|
ByteBufAllocator
Implementations are responsible to allocate buffers.
|
Class and Description |
---|
ByteBuf
A random and sequential accessible sequence of zero or more bytes (octets).
|
Class and Description |
---|
ByteBuf
A random and sequential accessible sequence of zero or more bytes (octets).
|
Class and Description |
---|
ByteBuf
A random and sequential accessible sequence of zero or more bytes (octets).
|
ByteBufHolder
A packet which is send or receive.
|
Class and Description |
---|
ByteBuf
A random and sequential accessible sequence of zero or more bytes (octets).
|
ByteBufHolder
A packet which is send or receive.
|
DefaultByteBufHolder
Default implementation of a
ByteBufHolder that holds it's data in a ByteBuf . |
Class and Description |
---|
ByteBuf
A random and sequential accessible sequence of zero or more bytes (octets).
|
ByteBufAllocator
Implementations are responsible to allocate buffers.
|
ByteBufHolder
A packet which is send or receive.
|
Class and Description |
---|
ByteBuf
A random and sequential accessible sequence of zero or more bytes (octets).
|
ByteBufAllocator
Implementations are responsible to allocate buffers.
|
ByteBufHolder
A packet which is send or receive.
|
Class and Description |
---|
ByteBuf
A random and sequential accessible sequence of zero or more bytes (octets).
|
ByteBufAllocator
Implementations are responsible to allocate buffers.
|
ByteBufHolder
A packet which is send or receive.
|
DefaultByteBufHolder
Default implementation of a
ByteBufHolder that holds it's data in a ByteBuf . |
Class and Description |
---|
ByteBuf
A random and sequential accessible sequence of zero or more bytes (octets).
|
ByteBufAllocator
Implementations are responsible to allocate buffers.
|
ByteBufHolder
A packet which is send or receive.
|
DefaultByteBufHolder
Default implementation of a
ByteBufHolder that holds it's data in a ByteBuf . |
Class and Description |
---|
ByteBuf
A random and sequential accessible sequence of zero or more bytes (octets).
|
Class and Description |
---|
ByteBuf
A random and sequential accessible sequence of zero or more bytes (octets).
|
ByteBufHolder
A packet which is send or receive.
|
Class and Description |
---|
ByteBuf
A random and sequential accessible sequence of zero or more bytes (octets).
|
ByteBufHolder
A packet which is send or receive.
|
Class and Description |
---|
ByteBuf
A random and sequential accessible sequence of zero or more bytes (octets).
|
ByteBufAllocator
Implementations are responsible to allocate buffers.
|
ByteBufHolder
A packet which is send or receive.
|
Class and Description |
---|
ByteBuf
A random and sequential accessible sequence of zero or more bytes (octets).
|
ByteBufAllocator
Implementations are responsible to allocate buffers.
|
ByteBufHolder
A packet which is send or receive.
|
DefaultByteBufHolder
Default implementation of a
ByteBufHolder that holds it's data in a ByteBuf . |
Class and Description |
---|
ByteBuf
A random and sequential accessible sequence of zero or more bytes (octets).
|
Class and Description |
---|
ByteBuf
A random and sequential accessible sequence of zero or more bytes (octets).
|
Class and Description |
---|
ByteBuf
A random and sequential accessible sequence of zero or more bytes (octets).
|
Class and Description |
---|
ByteBuf
A random and sequential accessible sequence of zero or more bytes (octets).
|
ByteBufHolder
A packet which is send or receive.
|
DefaultByteBufHolder
Default implementation of a
ByteBufHolder that holds it's data in a ByteBuf . |
Class and Description |
---|
ByteBuf
A random and sequential accessible sequence of zero or more bytes (octets).
|
Class and Description |
---|
ByteBuf
A random and sequential accessible sequence of zero or more bytes (octets).
|
Class and Description |
---|
ByteBuf
A random and sequential accessible sequence of zero or more bytes (octets).
|
Class and Description |
---|
ByteBuf
A random and sequential accessible sequence of zero or more bytes (octets).
|
Class and Description |
---|
ByteBuf
A random and sequential accessible sequence of zero or more bytes (octets).
|
ByteBufAllocator
Implementations are responsible to allocate buffers.
|
ByteBufHolder
A packet which is send or receive.
|
Class and Description |
---|
ByteBuf
A random and sequential accessible sequence of zero or more bytes (octets).
|
ByteBufHolder
A packet which is send or receive.
|
DefaultByteBufHolder
Default implementation of a
ByteBufHolder that holds it's data in a ByteBuf . |
Class and Description |
---|
ByteBuf
A random and sequential accessible sequence of zero or more bytes (octets).
|
Class and Description |
---|
ByteBuf
A random and sequential accessible sequence of zero or more bytes (octets).
|
Class and Description |
---|
ByteBuf
A random and sequential accessible sequence of zero or more bytes (octets).
|
ByteBufHolder
A packet which is send or receive.
|
Class and Description |
---|
ByteBuf
A random and sequential accessible sequence of zero or more bytes (octets).
|
ByteBufAllocator
Implementations are responsible to allocate buffers.
|
ByteBufHolder
A packet which is send or receive.
|
Class and Description |
---|
ByteBuf
A random and sequential accessible sequence of zero or more bytes (octets).
|
ByteBufAllocator
Implementations are responsible to allocate buffers.
|
Class and Description |
---|
ByteBuf
A random and sequential accessible sequence of zero or more bytes (octets).
|