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 TypeClassDescriptionclassA skeletal implementation of a buffer.classDeprecated.Do not use.(package private) classAbstract base class for derivedByteBufimplementations.private static final classprivate static final classclassAbstract base class forByteBufimplementations that count references.(package private) class(package private) classSpecialSwappedByteBufforByteBufs that is using unsafe.(package private) static final classprivate static final classprivate static classprivate static final classRemoves per-allocation retain()/release() atomic ops from the hot path by replacing ref counting with a segment-count state machine.(package private) final class(package private) final classclassA random and sequential accessible sequence of zero or more bytes (octets).(package private) static final class(package private) static final classclassA virtual buffer which shows multiple buffers as a single merged buffer.classDefault implementation of aByteBufHolderthat holds it's data in aByteBuf.classDeprecated.Do not use.final classAn emptyByteBufwhose capacity and maximum capacity are all0.(package private) final classprivate 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 classclassDeprecated.Do not use.(package private) classRead-only ByteBuf which wraps a read-only ByteBuffer.private static final classprivate static final class(package private) final classRead-only ByteBuf which wraps a read-only direct ByteBuffer and use unsafe for best performance.(package private) class(package private) classclassDeprecated.Do not use.classDeprecated.use the Little Endian accessors, e.g.private static final classprivate static final classprivate static final classprivate static final classprivate static final classclassA NIOByteBufferbased buffer.(package private) classDuplicatedByteBufimplementation that can do optimizations because it knows the duplicated buffer is of typeAbstractByteBuf.classBig endian Java heap buffer implementation.(package private) classA specialAbstractUnpooledSlicedByteBufthat can make optimizations because it knows the sliced buffer is of typeAbstractByteBuf.classA NIOByteBufferbased buffer.classBig endian Java heap buffer implementation.(package private) class(package private) final classAByteBufimplementation 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 classSpecialSwappedByteBufforByteBufs that use unsafe to access the byte array.(package private) classWraps anotherByteBuf.(package private) class(package private) final class -
Uses of ReferenceCounted in io.netty.channel
Subinterfaces of ReferenceCounted in io.netty.channelModifier and TypeInterfaceDescriptioninterfaceAddressedEnvelope<M, A extends SocketAddress>A message that wraps another message with a sender address and a recipient address.interfaceA region of a file that is sent via aChannelwhich supports zero-copy file transfer.Classes in io.netty.channel that implement ReferenceCountedModifier and TypeClassDescriptionclassDefaultAddressedEnvelope<M, A extends SocketAddress>The defaultAddressedEnvelopeimplementation.class -
Uses of ReferenceCounted in io.netty.channel.epoll
Classes in io.netty.channel.epoll that implement ReferenceCountedModifier and TypeClassDescriptionfinal classDeprecated. -
Uses of ReferenceCounted in io.netty.channel.nio
Methods in io.netty.channel.nio with parameters of type ReferenceCountedModifier and TypeMethodDescriptionprotected final ByteBufAbstractNioChannel.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 TypeClassDescriptionclassThe message container that is used forDatagramChannelto communicate with the remote peer. -
Uses of ReferenceCounted in io.netty.channel.unix
Classes in io.netty.channel.unix that implement ReferenceCountedModifier and TypeClassDescriptionfinal classThe message container that is used forDomainDatagramChannelto communicate with the remote peer.classAllows 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 classSpecialByteBufimplementation which is used by theReplayingDecoder -
Uses of ReferenceCounted in io.netty.handler.codec.dns
Subinterfaces of ReferenceCounted in io.netty.handler.codec.dnsModifier and TypeInterfaceDescriptioninterfaceThe superclass which contains core information concerning aDnsQueryand aDnsResponse.interfaceA DNS query message.interfaceA genericDnsRecordthat contains an undecodedRDATA.interfaceA DNS response message.Classes in io.netty.handler.codec.dns that implement ReferenceCountedModifier and TypeClassDescriptionclassA skeletal implementation ofDnsMessage.classADnsQueryimplementation for UDP/IP.classADnsResponseimplementation for UDP/IP.classThe defaultDnsQueryimplementation.classThe defaultDnsRawRecordimplementation.classThe defaultDnsResponseimplementation. -
Uses of ReferenceCounted in io.netty.handler.codec.haproxy
Classes in io.netty.handler.codec.haproxy that implement ReferenceCountedModifier and TypeClassDescriptionfinal classMessage container for decoded HAProxy proxy protocol parametersfinal classRepresents aHAProxyTLVof the typeHAProxyTLV.Type.PP2_TYPE_SSL.classA 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 TypeInterfaceDescriptioninterfaceCombinesHttpMessageandLastHttpContentinto one message.interfaceCombine theHttpRequestandFullHttpMessage, so the request is a complete HTTP request.interfaceCombination of aHttpResponseandFullHttpMessage.interfaceAn HTTP chunk which is used for HTTP chunked transfer-encoding.interfaceThe lastHttpContentwhich has trailing headers.Classes in io.netty.handler.codec.http that implement ReferenceCountedModifier and TypeClassDescription(package private) final classclassDefault implementation ofFullHttpRequest.classDefault implementation of aFullHttpResponse.classThe defaultHttpContentimplementation.classThe defaultLastHttpContentimplementation.private static classprivate static final classprivate static final classstatic final classUser 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 TypeInterfaceDescriptioninterfaceAttribute interfaceinterfaceFileUpload interface that could be in memory, on temporary file or any other implementations.interfaceExtended interface for InterfaceHttpDatainterfaceInterface for all Objects that could be encoded/decoded using HttpPostRequestEncoder/DecoderClasses in io.netty.handler.codec.http.multipart that implement ReferenceCountedModifier and TypeClassDescriptionclassAbstract Disk HttpData implementationclassAbstract HttpData implementationclassAbstract Memory HttpData implementation(package private) classAbstractMixedHttpData<D extends HttpData>classDisk implementation of AttributesclassDisk FileUpload implementation that stores file into real filesprivate static final class(package private) final classThis Attribute is only for Encoder use to insert special command between object if needed (like Multipart Mixed mode)classMemory implementation of AttributesclassDefault FileUpload implementation that stores file into memory.
Warning: be aware of the memory limitation.classMixed implementation using both in Memory and in File with a limit of sizeclassMixed 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 TypeClassDescriptionclassWeb Socket frame containing binary data.classWeb Socket Frame for closing the connection.classWeb Socket continuation frame containing continuation text or binary data.classWeb Socket frame containing binary data.classWeb Socket frame containing binary data.classWeb Socket text frame.classBase class for web socket frames. -
Uses of ReferenceCounted in io.netty.handler.codec.http2
Subinterfaces of ReferenceCounted in io.netty.handler.codec.http2Modifier and TypeInterfaceDescriptioninterfaceHTTP/2 DATA frame.interfaceHTTP/2 GOAWAY frame.interfaceClasses in io.netty.handler.codec.http2 that implement ReferenceCountedModifier and TypeClassDescriptionfinal classThe defaultHttp2DataFrameimplementation.final classThe defaultHttp2GoAwayFrameimplementation.final class -
Uses of ReferenceCounted in io.netty.handler.codec.memcache
Subinterfaces of ReferenceCounted in io.netty.handler.codec.memcacheModifier and TypeInterfaceDescriptioninterfaceCombinesMemcacheMessageandLastMemcacheContentinto one message.interfaceTheMemcacheContentwhich signals the end of the content batch.interfaceAn Memcache content chunk.interfaceMarker interface for both ascii and binary messages.Classes in io.netty.handler.codec.memcache that implement ReferenceCountedModifier and TypeClassDescriptionclassThe defaultMemcacheObjectimplementation.classThe default implementation for theLastMemcacheContent.classThe defaultMemcacheContentimplementation. -
Uses of ReferenceCounted in io.netty.handler.codec.memcache.binary
Subinterfaces of ReferenceCounted in io.netty.handler.codec.memcache.binaryModifier and TypeInterfaceDescriptioninterfaceAn interface that defines a binary Memcache message, providing common properties forBinaryMemcacheRequestandBinaryMemcacheResponse.interfaceRepresents a fullBinaryMemcacheRequest, which contains the header and optional key and extras.interfaceRepresents a fullBinaryMemcacheResponse, which contains the header and optional key and extras.interfaceABinaryMemcacheRequestthat also includes the content.interfaceABinaryMemcacheResponsethat also includes the content.Classes in io.netty.handler.codec.memcache.binary that implement ReferenceCountedModifier and TypeClassDescriptionclassDefault implementation of aBinaryMemcacheMessage.classThe default implementation of theBinaryMemcacheRequest.classThe default implementation of theBinaryMemcacheResponse.classThe default implementation of aFullBinaryMemcacheRequest.classThe 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 TypeInterfaceDescriptioninterfaceA chunk of bulk strings which is used for Redis chunked transfer-encoding.interfaceA last chunk of Bulk Strings.Classes in io.netty.handler.codec.redis that implement ReferenceCountedModifier and TypeClassDescriptionclassArrays of RESP.classA default implementation ofBulkStringRedisContent.final classA default implementation forLastBulkStringRedisContent.classAn aggregated bulk string of RESP. -
Uses of ReferenceCounted in io.netty.handler.codec.smtp
Subinterfaces of ReferenceCounted in io.netty.handler.codec.smtpModifier and TypeInterfaceDescriptioninterfaceThe last part of a sequence ofSmtpContents that are sent after aDATArequest.interfaceContent that is sent after theDATArequest.Classes in io.netty.handler.codec.smtp that implement ReferenceCountedModifier and TypeClassDescriptionfinal classDefault implementation ofLastSmtpContentthat does no validation of the raw data passed in.classDefault implementation ofSmtpContentthat 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.spdyModifier and TypeInterfaceDescriptioninterfaceA SPDY Protocol DATA FrameinterfaceA SPDY Control frame.Classes 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 TypeInterfaceDescriptioninterfaceThe lastStompContentSubframewhich signals the end of the content batchinterfaceAn STOMP chunk which is used for STOMP chunked transfer-encoding.interfaceCombinesStompHeadersSubframeandLastStompContentSubframeinto one frame.Classes in io.netty.handler.codec.stomp that implement ReferenceCountedModifier and TypeClassDescriptionclassThe default implementation for theLastStompContentSubframe.classThe defaultStompContentSubframeimplementation.classDefault implementation ofStompFrame. -
Uses of ReferenceCounted in io.netty.handler.ssl
Subinterfaces of ReferenceCounted in io.netty.handler.sslModifier and TypeInterfaceDescription(package private) interfaceHolds references to the native key-material that is used by OpenSSL.(package private) interfaceA marker interface for PEM encoded values.Classes in io.netty.handler.ssl that implement ReferenceCountedModifier and TypeClassDescription(package private) final classfinal classA client-sideSslContextwhich uses OpenSSL's SSL/TLS implementation.classThis class will use a finalizer to ensure native resources are automatically cleaned up.final classImplements aSSLEngineusing OpenSSL BIO abstractions.(package private) final class(package private) final classfinal classA server-sideSslContextwhich uses OpenSSL's SSL/TLS implementation.final classThis is a special purpose implementation of aPrivateKeywhich allows the user to pass PEM/PKCS#8 encoded key material straight intoOpenSslContextwithout having to parse and re-encode bytes in Java land.(package private) classA PEM encoded value.final classThis is a special purpose implementation of aX509Certificatewhich allows the user to pass PEM/PKCS#8 encoded data straight intoOpenSslContextwithout having to parse and re-encode bytes in Java land.final classA client-sideSslContextwhich uses OpenSSL's SSL/TLS implementation.classAn implementation ofSslContextwhich works with libraries that support the OpenSsl C library API.classImplements aSSLEngineusing OpenSSL BIO abstractions.final classA server-sideSslContextwhich uses OpenSSL's SSL/TLS implementation.Methods in io.netty.handler.ssl that return ReferenceCountedModifier and TypeMethodDescriptionfinal ReferenceCountedReferenceCountedOpenSslContext.retain()final ReferenceCountedReferenceCountedOpenSslContext.retain(int increment) final ReferenceCountedReferenceCountedOpenSslEngine.retain()final ReferenceCountedReferenceCountedOpenSslEngine.retain(int increment) final ReferenceCountedReferenceCountedOpenSslContext.touch()final ReferenceCountedfinal ReferenceCountedReferenceCountedOpenSslEngine.touch()final ReferenceCountedMethods in io.netty.handler.ssl with parameters of type ReferenceCountedModifier and TypeMethodDescription(package private) static voidOpenSsl.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 TypeClassDescriptionclassAbstract base class for classes wants to implementReferenceCounted.Fields in io.netty.util declared as ReferenceCountedModifier and TypeFieldDescriptionprivate final ReferenceCountedReferenceCountUtil.ReleasingTask.objMethods 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 TypeClassDescriptionclassReferenceCountUpdater<T extends ReferenceCounted>Common logic forReferenceCountedimplementationsMethod parameters in io.netty.util.internal with type arguments of type ReferenceCountedModifier and TypeMethodDescriptionstatic longReferenceCountUpdater.getUnsafeOffset(Class<? extends ReferenceCounted> clz, String fieldName)