Uses of Interface
io.netty.util.ReferenceCounted
Packages that use ReferenceCounted
Package
Description
Abstraction of a byte buffer - the fundamental data structure
to represent a low-level binary and text message.
The core channel API which is asynchronous and event-driven abstraction of
various transports such as a
NIO Channel.
Optimized transport for linux which uses EPOLL Edge-Triggered Mode
for maximal performance.
NIO-based channel
API implementation - recommended for a large number of connections (>= 1000).
Abstract SCTP socket interfaces which extend the core channel API.
Abstract TCP and UDP socket interfaces which extend the core channel API.
Unix specific transport.
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.
DNS codec.
Decodes an HAProxy proxy protocol header
Encoder, decoder and their related message types for HTTP.
HTTP multipart support.
Encoder, decoder, handshakers and their related message types for
Web Socket data frames.
Handlers for sending and receiving HTTP/2 frames.
Common superset of ascii and binary classes.
Implementations and Interfaces for the Memcache Binary protocol.
Encoder, decoder and different Message Types for MQTT.
Encoder, decoder for Redis.
SMTP codec.
Encoder, decoder, session handler and their related message types for the SPDY protocol.
STOMP codec
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.
Utility classes used across multiple packages.
Internal-use-only utilities which is not allowed to be used
outside Netty.
-
Uses of ReferenceCounted in io.netty.buffer
Subinterfaces of ReferenceCounted in io.netty.bufferClasses in io.netty.buffer that implement ReferenceCountedModifier and TypeClassDescriptionclass
A skeletal implementation of a buffer.class
Deprecated.Do not use.(package private) class
Abstract base class for derivedByteBuf
implementations.private static final class
private static final class
class
Abstract base class forByteBuf
implementations that count references.(package private) class
(package private) class
SpecialSwappedByteBuf
forByteBuf
s that is using unsafe.(package private) static final class
private static final class
(package private) final class
(package private) final class
class
A random and sequential accessible sequence of zero or more bytes (octets).(package private) static final class
(package private) static final class
class
A virtual buffer which shows multiple buffers as a single merged buffer.class
Default implementation of aByteBufHolder
that holds it's data in aByteBuf
.class
Deprecated.Do not use.final class
An emptyByteBuf
whose capacity and maximum capacity are all0
.(package private) final class
private static final class
(package private) class
(package private) final class
(package private) final class
(package private) class
(package private) final class
(package private) final class
(package private) final class
class
Deprecated.Do not use.(package private) class
Read-only ByteBuf which wraps a read-only ByteBuffer.private static final class
private static final class
(package private) final class
Read-only ByteBuf which wraps a read-only direct ByteBuffer and use unsafe for best performance.(package private) class
(package private) class
class
Deprecated.Do not use.class
Deprecated.use the Little Endian accessors, e.g.private static final class
private static final class
private static final class
private static final class
private static final class
class
A NIOByteBuffer
based buffer.(package private) class
DuplicatedByteBuf
implementation that can do optimizations because it knows the duplicated buffer is of typeAbstractByteBuf
.class
Big endian Java heap buffer implementation.(package private) class
A specialAbstractUnpooledSlicedByteBuf
that can make optimizations because it knows the sliced buffer is of typeAbstractByteBuf
.class
A NIOByteBuffer
based buffer.class
Big endian Java heap buffer implementation.(package private) class
(package private) final class
AByteBuf
implementation that wraps another buffer to prevent a user from increasing or decreasing the wrapped buffer's reference count.(package private) final class
(package private) final class
SpecialSwappedByteBuf
forByteBuf
s that use unsafe to access the byte array.(package private) class
Wraps anotherByteBuf
.(package private) class
(package private) final class
-
Uses of ReferenceCounted in io.netty.channel
Subinterfaces of ReferenceCounted in io.netty.channelModifier and TypeInterfaceDescriptioninterface
AddressedEnvelope<M,
A extends SocketAddress> A message that wraps another message with a sender address and a recipient address.interface
A region of a file that is sent via aChannel
which supports zero-copy file transfer.Classes in io.netty.channel that implement ReferenceCountedModifier and TypeClassDescriptionclass
DefaultAddressedEnvelope<M,
A extends SocketAddress> The defaultAddressedEnvelope
implementation.class
-
Uses of ReferenceCounted in io.netty.channel.epoll
Classes in io.netty.channel.epoll that implement ReferenceCountedModifier and TypeClassDescriptionfinal class
Deprecated. -
Uses of ReferenceCounted in io.netty.channel.nio
Methods in io.netty.channel.nio with parameters of type ReferenceCountedModifier and TypeMethodDescriptionprotected final ByteBuf
AbstractNioChannel.newDirectBuffer
(ReferenceCounted holder, ByteBuf buf) Returns an off-heap copy of the specifiedByteBuf
, and releases the specified holder. -
Uses of ReferenceCounted in io.netty.channel.sctp
Classes in io.netty.channel.sctp that implement ReferenceCounted -
Uses of ReferenceCounted in io.netty.channel.socket
Classes in io.netty.channel.socket that implement ReferenceCountedModifier and TypeClassDescriptionclass
The message container that is used forDatagramChannel
to communicate with the remote peer. -
Uses of ReferenceCounted in io.netty.channel.unix
Classes in io.netty.channel.unix that implement ReferenceCountedModifier and TypeClassDescriptionfinal class
The message container that is used forDomainDatagramChannel
to communicate with the remote peer.class
Allows to use GSO if the underlying OS supports it. -
Uses of ReferenceCounted in io.netty.handler.codec
Classes in io.netty.handler.codec that implement ReferenceCountedModifier and TypeClassDescription(package private) final class
SpecialByteBuf
implementation which is used by theReplayingDecoder
-
Uses of ReferenceCounted in io.netty.handler.codec.dns
Subinterfaces of ReferenceCounted in io.netty.handler.codec.dnsModifier and TypeInterfaceDescriptioninterface
The superclass which contains core information concerning aDnsQuery
and aDnsResponse
.interface
A DNS query message.interface
A genericDnsRecord
that contains an undecodedRDATA
.interface
A DNS response message.Classes in io.netty.handler.codec.dns that implement ReferenceCountedModifier and TypeClassDescriptionclass
A skeletal implementation ofDnsMessage
.class
ADnsQuery
implementation for UDP/IP.class
ADnsResponse
implementation for UDP/IP.class
The defaultDnsQuery
implementation.class
The defaultDnsRawRecord
implementation.class
The defaultDnsResponse
implementation. -
Uses of ReferenceCounted in io.netty.handler.codec.haproxy
Classes in io.netty.handler.codec.haproxy that implement ReferenceCountedModifier and TypeClassDescriptionfinal class
Message container for decoded HAProxy proxy protocol parametersfinal class
Represents aHAProxyTLV
of the typeHAProxyTLV.Type.PP2_TYPE_SSL
.class
A Type-Length Value (TLV vector) that can be added to the PROXY protocol to include additional information like SSL information. -
Uses of ReferenceCounted in io.netty.handler.codec.http
Subinterfaces of ReferenceCounted in io.netty.handler.codec.httpModifier and TypeInterfaceDescriptioninterface
CombinesHttpMessage
andLastHttpContent
into one message.interface
Combine theHttpRequest
andFullHttpMessage
, so the request is a complete HTTP request.interface
Combination of aHttpResponse
andFullHttpMessage
.interface
An HTTP chunk which is used for HTTP chunked transfer-encoding.interface
The lastHttpContent
which has trailing headers.Classes in io.netty.handler.codec.http that implement ReferenceCountedModifier and TypeClassDescription(package private) final class
class
Default implementation ofFullHttpRequest
.class
Default implementation of aFullHttpResponse
.class
The defaultHttpContent
implementation.class
The defaultLastHttpContent
implementation.private static class
private static final class
private static final class
static final class
User event that is fired to notify about the completion of an HTTP upgrade to another protocol. -
Uses of ReferenceCounted in io.netty.handler.codec.http.multipart
Subinterfaces of ReferenceCounted in io.netty.handler.codec.http.multipartModifier and TypeInterfaceDescriptioninterface
Attribute interfaceinterface
FileUpload interface that could be in memory, on temporary file or any other implementations.interface
Extended interface for InterfaceHttpDatainterface
Interface for all Objects that could be encoded/decoded using HttpPostRequestEncoder/DecoderClasses in io.netty.handler.codec.http.multipart that implement ReferenceCountedModifier and TypeClassDescriptionclass
Abstract Disk HttpData implementationclass
Abstract HttpData implementationclass
Abstract Memory HttpData implementation(package private) class
AbstractMixedHttpData<D extends HttpData>
class
Disk implementation of Attributesclass
Disk FileUpload implementation that stores file into real filesprivate static final class
(package private) final class
This Attribute is only for Encoder use to insert special command between object if needed (like Multipart Mixed mode)class
Memory implementation of Attributesclass
Default FileUpload implementation that stores file into memory.
Warning: be aware of the memory limitation.class
Mixed implementation using both in Memory and in File with a limit of sizeclass
Mixed implementation using both in Memory and in File with a limit of size -
Uses of ReferenceCounted in io.netty.handler.codec.http.websocketx
Classes in io.netty.handler.codec.http.websocketx that implement ReferenceCountedModifier and TypeClassDescriptionclass
Web Socket frame containing binary data.class
Web Socket Frame for closing the connection.class
Web Socket continuation frame containing continuation text or binary data.class
Web Socket frame containing binary data.class
Web Socket frame containing binary data.class
Web Socket text frame.class
Base class for web socket frames. -
Uses of ReferenceCounted in io.netty.handler.codec.http2
Subinterfaces of ReferenceCounted in io.netty.handler.codec.http2Modifier and TypeInterfaceDescriptioninterface
HTTP/2 DATA frame.interface
HTTP/2 GOAWAY frame.interface
Classes in io.netty.handler.codec.http2 that implement ReferenceCountedModifier and TypeClassDescriptionfinal class
The defaultHttp2DataFrame
implementation.final class
The defaultHttp2GoAwayFrame
implementation.final class
-
Uses of ReferenceCounted in io.netty.handler.codec.memcache
Subinterfaces of ReferenceCounted in io.netty.handler.codec.memcacheModifier and TypeInterfaceDescriptioninterface
CombinesMemcacheMessage
andLastMemcacheContent
into one message.interface
TheMemcacheContent
which signals the end of the content batch.interface
An Memcache content chunk.interface
Marker interface for both ascii and binary messages.Classes in io.netty.handler.codec.memcache that implement ReferenceCountedModifier and TypeClassDescriptionclass
The defaultMemcacheObject
implementation.class
The default implementation for theLastMemcacheContent
.class
The defaultMemcacheContent
implementation. -
Uses of ReferenceCounted in io.netty.handler.codec.memcache.binary
Subinterfaces of ReferenceCounted in io.netty.handler.codec.memcache.binaryModifier and TypeInterfaceDescriptioninterface
An interface that defines a binary Memcache message, providing common properties forBinaryMemcacheRequest
andBinaryMemcacheResponse
.interface
Represents a fullBinaryMemcacheRequest
, which contains the header and optional key and extras.interface
Represents a fullBinaryMemcacheResponse
, which contains the header and optional key and extras.interface
ABinaryMemcacheRequest
that also includes the content.interface
ABinaryMemcacheResponse
that also includes the content.Classes in io.netty.handler.codec.memcache.binary that implement ReferenceCountedModifier and TypeClassDescriptionclass
Default implementation of aBinaryMemcacheMessage
.class
The default implementation of theBinaryMemcacheRequest
.class
The default implementation of theBinaryMemcacheResponse
.class
The default implementation of aFullBinaryMemcacheRequest
.class
The default implementation of aFullBinaryMemcacheResponse
. -
Uses of ReferenceCounted in io.netty.handler.codec.mqtt
Classes in io.netty.handler.codec.mqtt that implement ReferenceCounted -
Uses of ReferenceCounted in io.netty.handler.codec.redis
Subinterfaces of ReferenceCounted in io.netty.handler.codec.redisModifier and TypeInterfaceDescriptioninterface
A chunk of bulk strings which is used for Redis chunked transfer-encoding.interface
A last chunk of Bulk Strings.Classes in io.netty.handler.codec.redis that implement ReferenceCountedModifier and TypeClassDescriptionclass
Arrays of RESP.class
A default implementation ofBulkStringRedisContent
.final class
A default implementation forLastBulkStringRedisContent
.class
An aggregated bulk string of RESP. -
Uses of ReferenceCounted in io.netty.handler.codec.smtp
Subinterfaces of ReferenceCounted in io.netty.handler.codec.smtpModifier and TypeInterfaceDescriptioninterface
The last part of a sequence ofSmtpContent
s that are sent after aDATA
request.interface
Content that is sent after theDATA
request.Classes in io.netty.handler.codec.smtp that implement ReferenceCountedModifier and TypeClassDescriptionfinal class
Default implementation ofLastSmtpContent
that does no validation of the raw data passed in.class
Default implementation ofSmtpContent
that does no validation of the raw data passed in. -
Uses of ReferenceCounted in io.netty.handler.codec.spdy
Subinterfaces of ReferenceCounted in io.netty.handler.codec.spdyClasses in io.netty.handler.codec.spdy that implement ReferenceCounted -
Uses of ReferenceCounted in io.netty.handler.codec.stomp
Subinterfaces of ReferenceCounted in io.netty.handler.codec.stompModifier and TypeInterfaceDescriptioninterface
The lastStompContentSubframe
which signals the end of the content batchinterface
An STOMP chunk which is used for STOMP chunked transfer-encoding.interface
CombinesStompHeadersSubframe
andLastStompContentSubframe
into one frame.Classes in io.netty.handler.codec.stomp that implement ReferenceCountedModifier and TypeClassDescriptionclass
The default implementation for theLastStompContentSubframe
.class
The defaultStompContentSubframe
implementation.class
Default implementation ofStompFrame
. -
Uses of ReferenceCounted in io.netty.handler.ssl
Subinterfaces of ReferenceCounted in io.netty.handler.sslModifier and TypeInterfaceDescription(package private) interface
Holds references to the native key-material that is used by OpenSSL.(package private) interface
A marker interface for PEM encoded values.Classes in io.netty.handler.ssl that implement ReferenceCountedModifier and TypeClassDescription(package private) final class
final class
A client-sideSslContext
which uses OpenSSL's SSL/TLS implementation.class
This class will use a finalizer to ensure native resources are automatically cleaned up.final class
Implements aSSLEngine
using OpenSSL BIO abstractions.(package private) final class
(package private) final class
final class
A server-sideSslContext
which uses OpenSSL's SSL/TLS implementation.final class
This is a special purpose implementation of aPrivateKey
which allows the user to pass PEM/PKCS#8 encoded key material straight intoOpenSslContext
without having to parse and re-encode bytes in Java land.(package private) class
A PEM encoded value.final class
This is a special purpose implementation of aX509Certificate
which allows the user to pass PEM/PKCS#8 encoded data straight intoOpenSslContext
without having to parse and re-encode bytes in Java land.final class
A client-sideSslContext
which uses OpenSSL's SSL/TLS implementation.class
An implementation ofSslContext
which works with libraries that support the OpenSsl C library API.class
Implements aSSLEngine
using OpenSSL BIO abstractions.final class
A server-sideSslContext
which uses OpenSSL's SSL/TLS implementation.Methods in io.netty.handler.ssl that return ReferenceCountedModifier and TypeMethodDescriptionfinal ReferenceCounted
ReferenceCountedOpenSslContext.retain()
final ReferenceCounted
ReferenceCountedOpenSslContext.retain
(int increment) final ReferenceCounted
ReferenceCountedOpenSslEngine.retain()
final ReferenceCounted
ReferenceCountedOpenSslEngine.retain
(int increment) final ReferenceCounted
ReferenceCountedOpenSslContext.touch()
final ReferenceCounted
final ReferenceCounted
ReferenceCountedOpenSslEngine.touch()
final ReferenceCounted
Methods in io.netty.handler.ssl with parameters of type ReferenceCountedModifier and TypeMethodDescription(package private) static void
OpenSsl.releaseIfNeeded
(ReferenceCounted counted) -
Uses of ReferenceCounted in io.netty.resolver.dns
Classes in io.netty.resolver.dns that implement ReferenceCountedModifier and TypeClassDescriptionprivate static final class
-
Uses of ReferenceCounted in io.netty.util
Classes in io.netty.util that implement ReferenceCountedModifier and TypeClassDescriptionclass
Abstract base class for classes wants to implementReferenceCounted
.Fields in io.netty.util declared as ReferenceCountedModifier and TypeFieldDescriptionprivate final ReferenceCounted
ReferenceCountUtil.ReleasingTask.obj
Methods in io.netty.util that return ReferenceCountedModifier and TypeMethodDescriptionAbstractReferenceCounted.retain()
AbstractReferenceCounted.retain
(int increment) ReferenceCounted.retain()
Increases the reference count by1
.ReferenceCounted.retain
(int increment) Increases the reference count by the specifiedincrement
.AbstractReferenceCounted.touch()
ReferenceCounted.touch()
Records the current access location of this object for debugging purposes.Records the current access location of this object with an additional arbitrary information for debugging purposes.Constructors in io.netty.util with parameters of type ReferenceCountedModifierConstructorDescription(package private)
ReleasingTask
(ReferenceCounted obj, int decrement) -
Uses of ReferenceCounted in io.netty.util.internal
Classes in io.netty.util.internal with type parameters of type ReferenceCountedModifier and TypeClassDescriptionclass
ReferenceCountUpdater<T extends ReferenceCounted>
Common logic forReferenceCounted
implementationsMethod parameters in io.netty.util.internal with type arguments of type ReferenceCountedModifier and TypeMethodDescriptionstatic long
ReferenceCountUpdater.getUnsafeOffset
(Class<? extends ReferenceCounted> clz, String fieldName)