A B C D E F G H I J K L M N O P R S T U V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- AbstractConstant<T extends AbstractConstant<T>> - Class in io.netty.util
-
Base implementation of
Constant. - AbstractConstant(int, String) - Constructor for class io.netty.util.AbstractConstant
-
Creates a new instance.
- AbstractEventExecutor - Class in io.netty.util.concurrent
-
Abstract base class for
EventExecutorimplementations. - AbstractEventExecutor() - Constructor for class io.netty.util.concurrent.AbstractEventExecutor
- AbstractEventExecutor(EventExecutorGroup) - Constructor for class io.netty.util.concurrent.AbstractEventExecutor
- AbstractEventExecutor.LazyRunnable - Interface in io.netty.util.concurrent
-
Deprecated.override
SingleThreadEventExecutor.wakesUpForTask(java.lang.Runnable)to re-create this behaviour - AbstractEventExecutorGroup - Class in io.netty.util.concurrent
-
Abstract base class for
EventExecutorGroupimplementations. - AbstractEventExecutorGroup() - Constructor for class io.netty.util.concurrent.AbstractEventExecutorGroup
- AbstractFuture<V> - Class in io.netty.util.concurrent
-
Abstract
Futureimplementation which does not allow for cancellation. - AbstractFuture() - Constructor for class io.netty.util.concurrent.AbstractFuture
- AbstractInternalLogger - Class in io.netty.util.internal.logging
-
A skeletal implementation of
InternalLogger. - AbstractInternalLogger(String) - Constructor for class io.netty.util.internal.logging.AbstractInternalLogger
-
Creates a new instance.
- AbstractReferenceCounted - Class in io.netty.util
-
Abstract base class for classes wants to implement
ReferenceCounted. - AbstractReferenceCounted() - Constructor for class io.netty.util.AbstractReferenceCounted
- AbstractScheduledEventExecutor - Class in io.netty.util.concurrent
-
Abstract base class for
EventExecutors that want to support scheduling. - AbstractScheduledEventExecutor() - Constructor for class io.netty.util.concurrent.AbstractScheduledEventExecutor
- AbstractScheduledEventExecutor(EventExecutorGroup) - Constructor for class io.netty.util.concurrent.AbstractScheduledEventExecutor
- accept(ServerSocketChannel) - Static method in class io.netty.util.internal.SocketUtils
- add(int, Object) - Method in class io.netty.util.internal.RecyclableArrayList
- add(long) - Method in interface io.netty.util.internal.LongCounter
- add(E) - Method in class io.netty.util.internal.ConcurrentSet
-
Deprecated.
- add(Future) - Method in class io.netty.util.concurrent.PromiseCombiner
-
Adds a new future to be combined.
- add(Promise) - Method in class io.netty.util.concurrent.PromiseCombiner
-
Deprecated.Replaced by
PromiseCombiner.add(Future). - add(Promise<V>...) - Method in class io.netty.util.concurrent.PromiseAggregator
-
Deprecated.Add the given
Promises to the aggregator. - add(Object) - Method in class io.netty.util.internal.RecyclableArrayList
- add(String, V) - Method in class io.netty.util.DomainMappingBuilder
-
Deprecated.Adds a mapping that maps the specified (optionally wildcard) host name to the specified output value.
- add(String, V) - Method in class io.netty.util.DomainNameMapping
-
Deprecated.use
DomainNameMappingBuilderto create and fill the mapping instead - add(String, V) - Method in class io.netty.util.DomainNameMappingBuilder
-
Deprecated.Adds a mapping that maps the specified (optionally wildcard) host name to the specified output value.
- add(String, V) - Method in class io.netty.util.DomainWildcardMappingBuilder
-
Adds a mapping that maps the specified (optionally wildcard) host name to the specified output value.
- add(T) - Method in class io.netty.util.internal.EmptyPriorityQueue
- addAll(int, Collection<?>) - Method in class io.netty.util.internal.RecyclableArrayList
- addAll(Future...) - Method in class io.netty.util.concurrent.PromiseCombiner
-
Adds new futures to be combined.
- addAll(Promise...) - Method in class io.netty.util.concurrent.PromiseCombiner
-
Deprecated.Replaced by
PromiseCombiner.addAll(Future[]) - addAll(Collection<?>) - Method in class io.netty.util.internal.RecyclableArrayList
- addAll(Collection<? extends T>) - Method in class io.netty.util.internal.EmptyPriorityQueue
- addExclusions(Class, String...) - Static method in class io.netty.util.ResourceLeakDetector
- addListener(GenericFutureListener<? extends Future<? super V>>) - Method in class io.netty.util.concurrent.CompleteFuture
- addListener(GenericFutureListener<? extends Future<? super V>>) - Method in class io.netty.util.concurrent.DefaultProgressivePromise
- addListener(GenericFutureListener<? extends Future<? super V>>) - Method in class io.netty.util.concurrent.DefaultPromise
- addListener(GenericFutureListener<? extends Future<? super V>>) - Method in interface io.netty.util.concurrent.Future
-
Adds the specified listener to this future.
- addListener(GenericFutureListener<? extends Future<? super V>>) - Method in interface io.netty.util.concurrent.ProgressiveFuture
- addListener(GenericFutureListener<? extends Future<? super V>>) - Method in interface io.netty.util.concurrent.ProgressivePromise
- addListener(GenericFutureListener<? extends Future<? super V>>) - Method in interface io.netty.util.concurrent.Promise
- addListeners(GenericFutureListener<? extends Future<? super V>>...) - Method in class io.netty.util.concurrent.CompleteFuture
- addListeners(GenericFutureListener<? extends Future<? super V>>...) - Method in class io.netty.util.concurrent.DefaultProgressivePromise
- addListeners(GenericFutureListener<? extends Future<? super V>>...) - Method in class io.netty.util.concurrent.DefaultPromise
- addListeners(GenericFutureListener<? extends Future<? super V>>...) - Method in interface io.netty.util.concurrent.Future
-
Adds the specified listeners to this future.
- addListeners(GenericFutureListener<? extends Future<? super V>>...) - Method in interface io.netty.util.concurrent.ProgressiveFuture
- addListeners(GenericFutureListener<? extends Future<? super V>>...) - Method in interface io.netty.util.concurrent.ProgressivePromise
- addListeners(GenericFutureListener<? extends Future<? super V>>...) - Method in interface io.netty.util.concurrent.Promise
- addressByName(String) - Static method in class io.netty.util.internal.SocketUtils
- addressesFromNetworkInterface(NetworkInterface) - Static method in class io.netty.util.internal.SocketUtils
- addressSize() - Static method in class io.netty.util.internal.PlatformDependent
-
Return the address size of the OS. 4 (for 32 bits systems ) and 8 (for 64 bits systems).
- addShutdownHook(Runnable) - Method in class io.netty.util.concurrent.SingleThreadEventExecutor
-
Add a
Runnablewhich will be executed on shutdown of this instance - addSuppressed(Throwable, Throwable) - Static method in class io.netty.util.internal.ThrowableUtil
- addSuppressed(Throwable, List<Throwable>) - Static method in class io.netty.util.internal.ThrowableUtil
- addSuppressedAndClear(Throwable, List<Throwable>) - Static method in class io.netty.util.internal.ThrowableUtil
- addTask(Runnable) - Method in class io.netty.util.concurrent.SingleThreadEventExecutor
-
Add a task to the task queue, or throws a
RejectedExecutionExceptionif this instance was shutdown before. - ADVANCED - io.netty.util.ResourceLeakDetector.Level
-
Enables advanced sampling resource leak detection which reports where the leaked object was accessed recently at the cost of high overhead.
- afterRunningAllTasks() - Method in class io.netty.util.concurrent.SingleThreadEventExecutor
-
Invoked before returning from
SingleThreadEventExecutor.runAllTasks()andSingleThreadEventExecutor.runAllTasks(long). - afterScheduledTaskSubmitted(long) - Method in class io.netty.util.concurrent.AbstractScheduledEventExecutor
- align(long, int) - Static method in class io.netty.util.internal.PlatformDependent
- alignDirectBuffer(ByteBuffer, int) - Static method in class io.netty.util.internal.PlatformDependent
- allAddressesByName(String) - Static method in class io.netty.util.internal.SocketUtils
- allocateDirectNoCleaner(int) - Static method in class io.netty.util.internal.PlatformDependent
-
Allocate a new
ByteBufferwith the givencapacity. - allocateMemory(long) - Static method in class io.netty.util.internal.PlatformDependent
- allocateUninitializedArray(int) - Static method in class io.netty.util.internal.PlatformDependent
- append(char) - Method in class io.netty.util.internal.AppendableCharSequence
- append(CharSequence) - Method in class io.netty.util.internal.AppendableCharSequence
- append(CharSequence, int, int) - Method in class io.netty.util.internal.AppendableCharSequence
- AppendableCharSequence - Class in io.netty.util.internal
- AppendableCharSequence(int) - Constructor for class io.netty.util.internal.AppendableCharSequence
- apply(Runnable, EventExecutor) - Static method in class io.netty.util.internal.ThreadExecutorMap
-
Decorate the given
Runnableand ensureThreadExecutorMap.currentExecutor()will returneventExecutorwhen called from within theRunnableduring execution. - apply(Executor, EventExecutor) - Static method in class io.netty.util.internal.ThreadExecutorMap
-
Decorate the given
Executorand ensureThreadExecutorMap.currentExecutor()will returneventExecutorwhen called from within theRunnableduring execution. - apply(ThreadFactory, EventExecutor) - Static method in class io.netty.util.internal.ThreadExecutorMap
-
Decorate the given
ThreadFactoryand ensureThreadExecutorMap.currentExecutor()will returneventExecutorwhen called from within theRunnableduring execution. - applyPattern(long, long) - Static method in class io.netty.util.internal.SWARUtil
-
Applies a compiled pattern to given word.
- array() - Method in class io.netty.util.AsciiString
-
This gives direct access to the underlying storage array.
- arrayChanged() - Method in class io.netty.util.AsciiString
-
During normal use cases the
AsciiStringshould be immutable, but if the underlying array is shared, and changes then this needs to be called. - arrayFormat(String, Object[]) - Static method in class io.netty.util.internal.logging.MessageFormatter
-
Same principle as the
MessageFormatter.format(String, Object)andMessageFormatter.format(String, Object, Object)methods except that any number of arguments can be passed in an array. - arrayList() - Method in class io.netty.util.internal.InternalThreadLocalMap
- arrayList(int) - Method in class io.netty.util.internal.InternalThreadLocalMap
- arrayOffset() - Method in class io.netty.util.AsciiString
-
The offset into
AsciiString.array()for which data for this ByteString begins. - artifactId() - Method in class io.netty.util.Version
- artifactVersion() - Method in class io.netty.util.Version
- AsciiString - Class in io.netty.util
-
A string which has been encoded into a character encoding whose character always takes a single byte, similarly to ASCII.
- AsciiString(byte[]) - Constructor for class io.netty.util.AsciiString
-
Initialize this byte string based upon a byte array.
- AsciiString(byte[], boolean) - Constructor for class io.netty.util.AsciiString
-
Initialize this byte string based upon a byte array.
- AsciiString(byte[], int, int, boolean) - Constructor for class io.netty.util.AsciiString
-
Construct a new instance from a
byte[]array. - AsciiString(char[]) - Constructor for class io.netty.util.AsciiString
-
Create a copy of
valueinto this instance assuming ASCII encoding. - AsciiString(char[], int, int) - Constructor for class io.netty.util.AsciiString
-
Create a copy of
valueinto this instance assuming ASCII encoding. - AsciiString(char[], Charset) - Constructor for class io.netty.util.AsciiString
-
Create a copy of
valueinto this instance using the encoding type ofcharset. - AsciiString(char[], Charset, int, int) - Constructor for class io.netty.util.AsciiString
-
Create a copy of
valueinto a this instance using the encoding type ofcharset. - AsciiString(CharSequence) - Constructor for class io.netty.util.AsciiString
-
Create a copy of
valueinto this instance assuming ASCII encoding. - AsciiString(CharSequence, int, int) - Constructor for class io.netty.util.AsciiString
-
Create a copy of
valueinto this instance assuming ASCII encoding. - AsciiString(CharSequence, Charset) - Constructor for class io.netty.util.AsciiString
-
Create a copy of
valueinto this instance using the encoding type ofcharset. - AsciiString(CharSequence, Charset, int, int) - Constructor for class io.netty.util.AsciiString
-
Create a copy of
valueinto this instance using the encoding type ofcharset. - AsciiString(ByteBuffer) - Constructor for class io.netty.util.AsciiString
-
Create a copy of the underlying storage from
value. - AsciiString(ByteBuffer, boolean) - Constructor for class io.netty.util.AsciiString
-
Initialize an instance based upon the underlying storage from
value. - AsciiString(ByteBuffer, int, int, boolean) - Constructor for class io.netty.util.AsciiString
-
Initialize an
AsciiStringbased upon the underlying storage fromvalue. - asMap() - Method in class io.netty.util.DomainNameMapping
-
Deprecated.Returns a read-only
Mapof the domain mapping patterns and their associated value objects. - AsyncMapping<IN,OUT> - Interface in io.netty.util
- attr(AttributeKey<T>) - Method in interface io.netty.util.AttributeMap
-
Get the
Attributefor the givenAttributeKey. - attr(AttributeKey<T>) - Method in class io.netty.util.DefaultAttributeMap
- Attribute<T> - Interface in io.netty.util
-
An attribute which allows to store a value reference.
- AttributeKey<T> - Class in io.netty.util
-
Key which can be used to access
Attributeout of theAttributeMap. - AttributeMap - Interface in io.netty.util
-
Holds
Attributes which can be accessed viaAttributeKey. - availableProcessors() - Static method in class io.netty.util.NettyRuntime
-
Get the configured number of available processors.
- await() - Method in class io.netty.util.concurrent.CompleteFuture
- await() - Method in class io.netty.util.concurrent.DefaultProgressivePromise
- await() - Method in class io.netty.util.concurrent.DefaultPromise
- await() - Method in interface io.netty.util.concurrent.Future
-
Waits for this future to be completed.
- await() - Method in interface io.netty.util.concurrent.ProgressiveFuture
- await() - Method in interface io.netty.util.concurrent.ProgressivePromise
- await() - Method in interface io.netty.util.concurrent.Promise
- await(long) - Method in class io.netty.util.concurrent.CompleteFuture
- await(long) - Method in class io.netty.util.concurrent.DefaultPromise
- await(long) - Method in interface io.netty.util.concurrent.Future
-
Waits for this future to be completed within the specified time limit.
- await(long, TimeUnit) - Method in class io.netty.util.concurrent.CompleteFuture
- await(long, TimeUnit) - Method in class io.netty.util.concurrent.DefaultPromise
- await(long, TimeUnit) - Method in interface io.netty.util.concurrent.Future
-
Waits for this future to be completed within the specified time limit.
- awaitInactivity(long, TimeUnit) - Method in class io.netty.util.concurrent.GlobalEventExecutor
-
Waits until the worker thread of this executor has no tasks left in its task queue and terminates itself.
- awaitInactivity(long, TimeUnit) - Static method in class io.netty.util.ThreadDeathWatcher
-
Deprecated.Waits until the thread of this watcher has no threads to watch and terminates itself.
- awaitTermination(long, TimeUnit) - Method in class io.netty.util.concurrent.GlobalEventExecutor
- awaitTermination(long, TimeUnit) - Method in class io.netty.util.concurrent.ImmediateEventExecutor
- awaitTermination(long, TimeUnit) - Method in class io.netty.util.concurrent.MultithreadEventExecutorGroup
- awaitTermination(long, TimeUnit) - Method in class io.netty.util.concurrent.NonStickyEventExecutorGroup
- awaitTermination(long, TimeUnit) - Method in class io.netty.util.concurrent.SingleThreadEventExecutor
- awaitUninterruptibly() - Method in class io.netty.util.concurrent.CompleteFuture
- awaitUninterruptibly() - Method in class io.netty.util.concurrent.DefaultProgressivePromise
- awaitUninterruptibly() - Method in class io.netty.util.concurrent.DefaultPromise
- awaitUninterruptibly() - Method in interface io.netty.util.concurrent.Future
-
Waits for this future to be completed without interruption.
- awaitUninterruptibly() - Method in interface io.netty.util.concurrent.ProgressiveFuture
- awaitUninterruptibly() - Method in interface io.netty.util.concurrent.ProgressivePromise
- awaitUninterruptibly() - Method in interface io.netty.util.concurrent.Promise
- awaitUninterruptibly(long) - Method in class io.netty.util.concurrent.CompleteFuture
- awaitUninterruptibly(long) - Method in class io.netty.util.concurrent.DefaultPromise
- awaitUninterruptibly(long) - Method in interface io.netty.util.concurrent.Future
-
Waits for this future to be completed within the specified time limit without interruption.
- awaitUninterruptibly(long, TimeUnit) - Method in class io.netty.util.concurrent.CompleteFuture
- awaitUninterruptibly(long, TimeUnit) - Method in class io.netty.util.concurrent.DefaultPromise
- awaitUninterruptibly(long, TimeUnit) - Method in interface io.netty.util.concurrent.Future
-
Waits for this future to be completed within the specified time limit without interruption.
B
- b2c(byte) - Static method in class io.netty.util.AsciiString
- backoff(int, long, TimeUnit) - Static method in class io.netty.util.concurrent.RejectedExecutionHandlers
-
Tries to backoff when the task can not be added due restrictions for an configured amount of time.
- beforeScheduledTaskSubmitted(long) - Method in class io.netty.util.concurrent.AbstractScheduledEventExecutor
-
Called from arbitrary non-
EventExecutorthreads prior to scheduled task submission. - bestAvailableMac() - Static method in class io.netty.util.internal.MacAddressUtil
-
Obtains the best MAC address found on local network interfaces.
- BIG_ENDIAN_NATIVE_ORDER - Static variable in class io.netty.util.internal.PlatformDependent
- bind(Socket, SocketAddress) - Static method in class io.netty.util.internal.SocketUtils
- bind(DatagramChannel, SocketAddress) - Static method in class io.netty.util.internal.SocketUtils
- bind(SocketChannel, SocketAddress) - Static method in class io.netty.util.internal.SocketUtils
- bitMode() - Static method in class io.netty.util.internal.PlatformDependent
-
Returns the bit mode of the current VM (usually 32 or 64.)
- BlockingOperationException - Exception in io.netty.util.concurrent
-
An
IllegalStateExceptionwhich is raised when a user performed a blocking operation when the user is in an event loop thread. - BlockingOperationException() - Constructor for exception io.netty.util.concurrent.BlockingOperationException
- BlockingOperationException(String) - Constructor for exception io.netty.util.concurrent.BlockingOperationException
- BlockingOperationException(String, Throwable) - Constructor for exception io.netty.util.concurrent.BlockingOperationException
- BlockingOperationException(Throwable) - Constructor for exception io.netty.util.concurrent.BlockingOperationException
- BooleanSupplier - Interface in io.netty.util
-
Represents a supplier of
boolean-valued results. - build() - Method in class io.netty.util.DomainMappingBuilder
-
Deprecated.Creates a new instance of immutable
DomainNameMappingAttempts to add new mappings to the result object will causeUnsupportedOperationExceptionto be thrown - build() - Method in class io.netty.util.DomainNameMappingBuilder
-
Deprecated.Creates a new instance of immutable
DomainNameMappingAttempts to add new mappings to the result object will causeUnsupportedOperationExceptionto be thrown - build() - Method in class io.netty.util.DomainWildcardMappingBuilder
-
Creates a new instance of an immutable
Mapping. - buildTimeMillis() - Method in class io.netty.util.Version
- byteArrayBaseOffset() - Static method in class io.netty.util.internal.PlatformDependent
- byteAt(int) - Method in class io.netty.util.AsciiString
- ByteCollections - Class in io.netty.util.collection
-
Utilities for byte-based primitive collections.
- ByteObjectHashMap<V> - Class in io.netty.util.collection
-
A hash map implementation of
ByteObjectMapthat uses open addressing for keys. - ByteObjectHashMap() - Constructor for class io.netty.util.collection.ByteObjectHashMap
- ByteObjectHashMap(int) - Constructor for class io.netty.util.collection.ByteObjectHashMap
- ByteObjectHashMap(int, float) - Constructor for class io.netty.util.collection.ByteObjectHashMap
- ByteObjectMap<V> - Interface in io.netty.util.collection
-
Interface for a primitive map that uses
bytes as keys. - ByteObjectMap.PrimitiveEntry<V> - Interface in io.netty.util.collection
-
A primitive entry in the map, provided by the iterator from
ByteObjectMap.entries() - ByteProcessor - Interface in io.netty.util
-
Provides a mechanism to iterate over a collection of bytes.
- ByteProcessor.IndexNotOfProcessor - Class in io.netty.util
-
A
ByteProcessorwhich finds the first appearance which is not of a specific byte. - ByteProcessor.IndexOfProcessor - Class in io.netty.util
-
A
ByteProcessorwhich finds the first appearance of a specific byte. - bytesToIpAddress(byte[]) - Static method in class io.netty.util.NetUtil
-
Converts 4-byte or 16-byte data into an IPv4 or IPv6 string respectively.
- bytesToIpAddress(byte[], int, int) - Static method in class io.netty.util.NetUtil
-
Converts 4-byte or 16-byte data into an IPv4 or IPv6 string respectively.
- byteToHexString(int) - Static method in class io.netty.util.internal.StringUtil
-
Converts the specified byte value into a hexadecimal integer.
- byteToHexString(T, int) - Static method in class io.netty.util.internal.StringUtil
-
Converts the specified byte value into a hexadecimal integer and appends it to the specified buffer.
- byteToHexStringPadded(int) - Static method in class io.netty.util.internal.StringUtil
-
Converts the specified byte value into a 2-digit hexadecimal integer.
- byteToHexStringPadded(T, int) - Static method in class io.netty.util.internal.StringUtil
-
Converts the specified byte value into a 2-digit hexadecimal integer and appends it to the specified buffer.
C
- c2b(char) - Static method in class io.netty.util.AsciiString
- cached(String) - Static method in class io.netty.util.AsciiString
-
Returns an
AsciiStringcontaining the given string and retains/caches the input string for later use inAsciiString.toString(). - cancel() - Method in interface io.netty.util.Timeout
-
Attempts to cancel the
TimerTaskassociated with this handle. - cancel(boolean) - Method in class io.netty.util.concurrent.CompleteFuture
-
If the cancellation was successful it will fail the future with a
CancellationException. - cancel(boolean) - Method in class io.netty.util.concurrent.DefaultPromise
-
If the cancellation was successful it will fail the future with a
CancellationException. - cancel(boolean) - Method in interface io.netty.util.concurrent.Future
-
If the cancellation was successful it will fail the future with a
CancellationException. - cancelScheduledTasks() - Method in class io.netty.util.concurrent.AbstractScheduledEventExecutor
-
Cancel all scheduled tasks.
- canEnableTcpNoDelayByDefault() - Static method in class io.netty.util.internal.PlatformDependent
-
Returns
trueif and only if it is fine to enable TCP_NODELAY socket option by default. - CARRIAGE_RETURN - Static variable in class io.netty.util.internal.StringUtil
- cascade(boolean, F, Promise<? super V>) - Static method in class io.netty.util.concurrent.PromiseNotifier
- cascade(F, Promise<? super V>) - Static method in class io.netty.util.concurrent.PromiseNotifier
- cascadeTo(Future<X>, Promise<? super X>) - Static method in class io.netty.util.concurrent.UnaryPromiseNotifier
-
Deprecated.
- CASE_INSENSITIVE_HASHER - Static variable in class io.netty.util.AsciiString
- CASE_SENSITIVE_HASHER - Static variable in class io.netty.util.AsciiString
- cause() - Method in class io.netty.util.concurrent.DefaultPromise
- cause() - Method in class io.netty.util.concurrent.FailedFuture
- cause() - Method in interface io.netty.util.concurrent.Future
-
Returns the cause of the failed I/O operation if the I/O operation has failed.
- cause() - Method in class io.netty.util.concurrent.SucceededFuture
- charAt(int) - Method in class io.netty.util.AsciiString
- charAt(int) - Method in class io.netty.util.internal.AppendableCharSequence
- charAtUnsafe(int) - Method in class io.netty.util.internal.AppendableCharSequence
-
Access a value in this
CharSequence. - CharCollections - Class in io.netty.util.collection
-
Utilities for char-based primitive collections.
- CharObjectHashMap<V> - Class in io.netty.util.collection
-
A hash map implementation of
CharObjectMapthat uses open addressing for keys. - CharObjectHashMap() - Constructor for class io.netty.util.collection.CharObjectHashMap
- CharObjectHashMap(int) - Constructor for class io.netty.util.collection.CharObjectHashMap
- CharObjectHashMap(int, float) - Constructor for class io.netty.util.collection.CharObjectHashMap
- CharObjectMap<V> - Interface in io.netty.util.collection
-
Interface for a primitive map that uses
chars as keys. - CharObjectMap.PrimitiveEntry<V> - Interface in io.netty.util.collection
-
A primitive entry in the map, provided by the iterator from
CharObjectMap.entries() - charsetDecoderCache() - Method in class io.netty.util.internal.InternalThreadLocalMap
- charsetEncoderCache() - Method in class io.netty.util.internal.InternalThreadLocalMap
- CharsetUtil - Class in io.netty.util
-
A utility class that provides various common operations and constants related with
Charsetand its relevant classes. - checkDeadLock() - Method in class io.netty.util.concurrent.DefaultPromise
- checkInRange(int, int, int, String) - Static method in class io.netty.util.internal.ObjectUtil
-
Checks that the given argument is in range.
- checkInRange(long, long, long, String) - Static method in class io.netty.util.internal.ObjectUtil
-
Checks that the given argument is in range.
- checkNonEmpty(byte[], String) - Static method in class io.netty.util.internal.ObjectUtil
-
Checks that the given argument is neither null nor empty.
- checkNonEmpty(char[], String) - Static method in class io.netty.util.internal.ObjectUtil
-
Checks that the given argument is neither null nor empty.
- checkNonEmpty(CharSequence, String) - Static method in class io.netty.util.internal.ObjectUtil
-
Checks that the given argument is neither null nor empty.
- checkNonEmpty(String, String) - Static method in class io.netty.util.internal.ObjectUtil
-
Checks that the given argument is neither null nor empty.
- checkNonEmpty(T[], String) - Static method in class io.netty.util.internal.ObjectUtil
-
Checks that the given argument is neither null nor empty.
- checkNonEmpty(T, String) - Static method in class io.netty.util.internal.ObjectUtil
-
Checks that the given argument is neither null nor empty.
- checkNonEmptyAfterTrim(String, String) - Static method in class io.netty.util.internal.ObjectUtil
-
Trims the given argument and checks whether it is neither null nor empty.
- checkNotNull(T, String) - Static method in class io.netty.util.internal.ObjectUtil
-
Checks that the given argument is not null.
- checkNotNullArrayParam(T, int, String) - Static method in class io.netty.util.internal.ObjectUtil
-
Checks that the given argument is not null.
- checkNotNullWithIAE(T, String) - Static method in class io.netty.util.internal.ObjectUtil
-
Checks that the given argument is not null.
- checkPositive(double, String) - Static method in class io.netty.util.internal.ObjectUtil
-
Checks that the given argument is strictly positive.
- checkPositive(float, String) - Static method in class io.netty.util.internal.ObjectUtil
-
Checks that the given argument is strictly positive.
- checkPositive(int, String) - Static method in class io.netty.util.internal.ObjectUtil
-
Checks that the given argument is strictly positive.
- checkPositive(long, String) - Static method in class io.netty.util.internal.ObjectUtil
-
Checks that the given argument is strictly positive.
- checkPositiveOrZero(double, String) - Static method in class io.netty.util.internal.ObjectUtil
-
Checks that the given argument is positive or zero.
- checkPositiveOrZero(float, String) - Static method in class io.netty.util.internal.ObjectUtil
-
Checks that the given argument is positive or zero.
- checkPositiveOrZero(int, String) - Static method in class io.netty.util.internal.ObjectUtil
-
Checks that the given argument is positive or zero.
- checkPositiveOrZero(long, String) - Static method in class io.netty.util.internal.ObjectUtil
-
Checks that the given argument is positive or zero.
- ClassInitializerUtil - Class in io.netty.util.internal
-
Utility which ensures that classes are loaded by the
ClassLoader. - cleanup() - Method in class io.netty.util.concurrent.SingleThreadEventExecutor
-
Do nothing, sub-classes may override
- clear() - Method in class io.netty.util.collection.ByteObjectHashMap
- clear() - Method in class io.netty.util.collection.CharObjectHashMap
- clear() - Method in class io.netty.util.collection.IntObjectHashMap
- clear() - Method in class io.netty.util.collection.LongObjectHashMap
- clear() - Method in class io.netty.util.collection.ShortObjectHashMap
- clear() - Method in class io.netty.util.internal.ConcurrentSet
-
Deprecated.
- clear() - Method in class io.netty.util.internal.DefaultPriorityQueue
- clear() - Method in class io.netty.util.internal.EmptyPriorityQueue
- clearIgnoringIndexes() - Method in class io.netty.util.internal.DefaultPriorityQueue
- clearIgnoringIndexes() - Method in class io.netty.util.internal.EmptyPriorityQueue
- clearIgnoringIndexes() - Method in interface io.netty.util.internal.PriorityQueue
-
Removes all of the elements from this
PriorityQueuewithout callingPriorityQueueNode.priorityQueueIndex(DefaultPriorityQueue)or explicitly removing references to them to allow them to be garbage collected. - close() - Method in interface io.netty.util.ResourceLeak
-
Deprecated.Close the leak so that
ResourceLeakDetectordoes not warn about leaked resources. - close(T) - Method in interface io.netty.util.ResourceLeakTracker
-
Close the leak so that
ResourceLeakTrackerdoes not warn about leaked resources. - COMMA - Static variable in class io.netty.util.internal.StringUtil
- commitTimeMillis() - Method in class io.netty.util.Version
- CommonsLoggerFactory - Class in io.netty.util.internal.logging
-
Deprecated.
- CommonsLoggerFactory() - Constructor for class io.netty.util.internal.logging.CommonsLoggerFactory
-
Deprecated.Use
CommonsLoggerFactory.INSTANCEinstead. - commonSuffixOfLength(String, String, int) - Static method in class io.netty.util.internal.StringUtil
-
Checks if two strings have the same suffix of specified length
- compare(int, int) - Static method in class io.netty.util.internal.MathUtil
-
Compares two
intvalues. - compare(long, long) - Static method in class io.netty.util.internal.MathUtil
-
Compare two
longvalues. - compareAndSet(T, T) - Method in interface io.netty.util.Attribute
-
Atomically sets the value to the given updated value if the current value == the expected value.
- compareTo(Signal) - Method in error io.netty.util.Signal
- compareTo(CharSequence) - Method in class io.netty.util.AsciiString
-
Compares the specified string to this string using the ASCII values of the characters.
- compareTo(T) - Method in class io.netty.util.AbstractConstant
- compilePattern(byte) - Static method in class io.netty.util.internal.SWARUtil
-
Compiles given byte into a long pattern suitable for SWAR operations.
- CompleteFuture<V> - Class in io.netty.util.concurrent
- CompleteFuture(EventExecutor) - Constructor for class io.netty.util.concurrent.CompleteFuture
-
Creates a new instance.
- concat(CharSequence) - Method in class io.netty.util.AsciiString
-
Concatenates this string and the specified string.
- ConcurrentSet<E> - Class in io.netty.util.internal
-
Deprecated.For removal in Netty 4.2. Please use
ConcurrentHashMap#newKeySet()instead - ConcurrentSet() - Constructor for class io.netty.util.internal.ConcurrentSet
-
Deprecated.Creates a new instance which wraps the specified
map. - confirmShutdown() - Method in class io.netty.util.concurrent.SingleThreadEventExecutor
-
Confirm that the shutdown if the instance should be done now!
- connect(Socket, SocketAddress, int) - Static method in class io.netty.util.internal.SocketUtils
- connect(SocketChannel, SocketAddress) - Static method in class io.netty.util.internal.SocketUtils
- Constant<T extends Constant<T>> - Interface in io.netty.util
-
A singleton which is safe to compare via the
==operator. - ConstantPool<T extends Constant<T>> - Class in io.netty.util
-
A pool of
Constants. - ConstantPool() - Constructor for class io.netty.util.ConstantPool
- ConstantTimeUtils - Class in io.netty.util.internal
- contains(CharSequence) - Method in class io.netty.util.AsciiString
-
Determines if this
Stringcontains the sequence of characters in theCharSequencepassed. - contains(CharSequence, CharSequence) - Static method in class io.netty.util.AsciiString
-
Determine if
acontainsbin a case sensitive manner. - contains(Object) - Method in class io.netty.util.internal.ConcurrentSet
-
Deprecated.
- contains(Object) - Method in class io.netty.util.internal.DefaultPriorityQueue
- contains(Object) - Method in class io.netty.util.internal.EmptyPriorityQueue
- contains(String) - Static method in class io.netty.util.internal.SystemPropertyUtil
-
Returns
trueif and only if the system property with the specifiedkeyexists. - containsAll(Collection<?>) - Method in class io.netty.util.internal.EmptyPriorityQueue
- containsAllContentEqualsIgnoreCase(Collection<CharSequence>, Collection<CharSequence>) - Static method in class io.netty.util.AsciiString
-
Determine if
acontains all of the values inbusingAsciiString.contentEqualsIgnoreCase(CharSequence, CharSequence)to compare values. - containsContentEqualsIgnoreCase(Collection<CharSequence>, CharSequence) - Static method in class io.netty.util.AsciiString
-
Determine if
collectioncontainsvalueand usingAsciiString.contentEqualsIgnoreCase(CharSequence, CharSequence)to compare values. - containsIgnoreCase(CharSequence, CharSequence) - Static method in class io.netty.util.AsciiString
-
Determine if
acontainsbin a case insensitive manner. - containsKey(byte) - Method in class io.netty.util.collection.ByteObjectHashMap
- containsKey(byte) - Method in interface io.netty.util.collection.ByteObjectMap
-
Indicates whether or not this map contains a value for the specified key.
- containsKey(char) - Method in class io.netty.util.collection.CharObjectHashMap
- containsKey(char) - Method in interface io.netty.util.collection.CharObjectMap
-
Indicates whether or not this map contains a value for the specified key.
- containsKey(int) - Method in class io.netty.util.collection.IntObjectHashMap
- containsKey(int) - Method in interface io.netty.util.collection.IntObjectMap
-
Indicates whether or not this map contains a value for the specified key.
- containsKey(long) - Method in class io.netty.util.collection.LongObjectHashMap
- containsKey(long) - Method in interface io.netty.util.collection.LongObjectMap
-
Indicates whether or not this map contains a value for the specified key.
- containsKey(short) - Method in class io.netty.util.collection.ShortObjectHashMap
- containsKey(short) - Method in interface io.netty.util.collection.ShortObjectMap
-
Indicates whether or not this map contains a value for the specified key.
- containsKey(Object) - Method in class io.netty.util.collection.ByteObjectHashMap
- containsKey(Object) - Method in class io.netty.util.collection.CharObjectHashMap
- containsKey(Object) - Method in class io.netty.util.collection.IntObjectHashMap
- containsKey(Object) - Method in class io.netty.util.collection.LongObjectHashMap
- containsKey(Object) - Method in class io.netty.util.collection.ShortObjectHashMap
- containsLowerCase(int) - Static method in class io.netty.util.internal.SWARUtil
-
Returns true if the given word contains at least one ASCII lowercase byte.
- containsLowerCase(long) - Static method in class io.netty.util.internal.SWARUtil
-
Returns true if the given word contains at least one ASCII lowercase byte.
- containsTyped(T) - Method in class io.netty.util.internal.DefaultPriorityQueue
- containsTyped(T) - Method in class io.netty.util.internal.EmptyPriorityQueue
- containsTyped(T) - Method in interface io.netty.util.internal.PriorityQueue
-
Same as
Collection.contains(Object)but typed using generics. - containsUpperCase(int) - Static method in class io.netty.util.internal.SWARUtil
-
Returns true if the given word contains at least one ASCII uppercase byte.
- containsUpperCase(long) - Static method in class io.netty.util.internal.SWARUtil
-
Returns true if the given word contains at least one ASCII uppercase byte.
- containsValue(Object) - Method in class io.netty.util.collection.ByteObjectHashMap
- containsValue(Object) - Method in class io.netty.util.collection.CharObjectHashMap
- containsValue(Object) - Method in class io.netty.util.collection.IntObjectHashMap
- containsValue(Object) - Method in class io.netty.util.collection.LongObjectHashMap
- containsValue(Object) - Method in class io.netty.util.collection.ShortObjectHashMap
- contentEquals(CharSequence) - Method in class io.netty.util.AsciiString
-
Compares a
CharSequenceto thisStringto determine if their contents are equal. - contentEquals(CharSequence, CharSequence) - Static method in class io.netty.util.AsciiString
-
Returns
trueif the content of bothCharSequence's are equals. - contentEqualsIgnoreCase(CharSequence) - Method in class io.netty.util.AsciiString
-
Compares the specified string to this string ignoring the case of the characters and returns true if they are equal.
- contentEqualsIgnoreCase(CharSequence, CharSequence) - Static method in class io.netty.util.AsciiString
-
Returns
trueif bothCharSequence's are equals when ignore the case. - copy(int, byte[], int, int) - Method in class io.netty.util.AsciiString
-
Copies the content of this string to a byte array.
- copy(int, char[], int, int) - Method in class io.netty.util.AsciiString
-
Copied the content of this string to a character array.
- copyMemory(byte[], int, byte[], int, long) - Static method in class io.netty.util.internal.PlatformDependent
- copyMemory(byte[], int, long, long) - Static method in class io.netty.util.internal.PlatformDependent
- copyMemory(long, byte[], int, long) - Static method in class io.netty.util.internal.PlatformDependent
- copyMemory(long, long, long) - Static method in class io.netty.util.internal.PlatformDependent
- counterHashCode() - Method in class io.netty.util.internal.InternalThreadLocalMap
-
Deprecated.
- createByteArrayFromIpAddressString(String) - Static method in class io.netty.util.NetUtil
-
Creates an byte[] based on an ipAddressString.
- createInetAddressFromIpAddressString(String) - Static method in class io.netty.util.NetUtil
-
Creates an
InetAddressbased on an ipAddressString or might return null if it can't be parsed. - createTempFile(String, String, File) - Static method in class io.netty.util.internal.PlatformDependent
- current() - Static method in class io.netty.util.internal.ThreadLocalRandom
-
Deprecated.Returns the current thread's
ThreadLocalRandom. - currentExecutor() - Static method in class io.netty.util.internal.ThreadExecutorMap
D
- deadlineNanos() - Method in class io.netty.util.concurrent.SingleThreadEventExecutor
-
Returns the absolute point in time (relative to
AbstractScheduledEventExecutor.getCurrentTimeNanos()) at which the next closest scheduled task should run. - deadlineToDelayNanos(long) - Static method in class io.netty.util.concurrent.AbstractScheduledEventExecutor
-
Given an arbitrary deadline
deadlineNanos, calculate the number of nano seconds from nowdeadlineNanoswould expire. - deallocate() - Method in class io.netty.util.AbstractReferenceCounted
-
Called once
AbstractReferenceCounted.refCnt()is equals 0. - debug(String) - Method in interface io.netty.util.internal.logging.InternalLogger
-
Log a message at the DEBUG level.
- debug(String, Object) - Method in interface io.netty.util.internal.logging.InternalLogger
-
Log a message at the DEBUG level according to the specified format and argument.
- debug(String, Object...) - Method in interface io.netty.util.internal.logging.InternalLogger
-
Log a message at the DEBUG level according to the specified format and arguments.
- debug(String, Object, Object) - Method in interface io.netty.util.internal.logging.InternalLogger
-
Log a message at the DEBUG level according to the specified format and arguments.
- debug(String, Throwable) - Method in interface io.netty.util.internal.logging.InternalLogger
-
Log an exception (throwable) at the DEBUG level with an accompanying message.
- debug(Throwable) - Method in class io.netty.util.internal.logging.AbstractInternalLogger
- debug(Throwable) - Method in interface io.netty.util.internal.logging.InternalLogger
-
Log an exception (throwable) at the DEBUG level.
- DEBUG - io.netty.util.internal.logging.InternalLogLevel
-
'DEBUG' log level.
- decodeHexByte(CharSequence, int) - Static method in class io.netty.util.internal.StringUtil
-
Decode a 2-digit hex byte from within a string.
- decodeHexDump(CharSequence) - Static method in class io.netty.util.internal.StringUtil
-
Decodes a hex dump
- decodeHexDump(CharSequence, int, int) - Static method in class io.netty.util.internal.StringUtil
-
Decodes part of a string with hex dump
- decodeHexNibble(byte) - Static method in class io.netty.util.internal.StringUtil
-
Helper to decode half of a hexadecimal number from a string.
- decodeHexNibble(char) - Static method in class io.netty.util.internal.StringUtil
-
Helper to decode half of a hexadecimal number from a string.
- decoder(Charset) - Static method in class io.netty.util.CharsetUtil
-
Returns a cached thread-local
CharsetDecoderfor the specifiedCharset. - decoder(Charset, CodingErrorAction) - Static method in class io.netty.util.CharsetUtil
-
Returns a new
CharsetDecoderfor theCharsetwith the specified error action. - decoder(Charset, CodingErrorAction, CodingErrorAction) - Static method in class io.netty.util.CharsetUtil
-
Returns a new
CharsetDecoderfor theCharsetwith specified error actions. - decorateTask(Runnable, RunnableScheduledFuture<V>) - Method in class io.netty.util.concurrent.UnorderedThreadPoolEventExecutor
- decorateTask(Callable<V>, RunnableScheduledFuture<V>) - Method in class io.netty.util.concurrent.UnorderedThreadPoolEventExecutor
- decrement() - Method in interface io.netty.util.internal.LongCounter
- deepCheckNotNull(String, T...) - Static method in class io.netty.util.internal.ObjectUtil
-
Check that the given varargs is not null and does not contain elements null elements.
- DEFAULT_CAPACITY - Static variable in class io.netty.util.collection.ByteObjectHashMap
-
Default initial capacity.
- DEFAULT_CAPACITY - Static variable in class io.netty.util.collection.CharObjectHashMap
-
Default initial capacity.
- DEFAULT_CAPACITY - Static variable in class io.netty.util.collection.IntObjectHashMap
-
Default initial capacity.
- DEFAULT_CAPACITY - Static variable in class io.netty.util.collection.LongObjectHashMap
-
Default initial capacity.
- DEFAULT_CAPACITY - Static variable in class io.netty.util.collection.ShortObjectHashMap
-
Default initial capacity.
- DEFAULT_LOAD_FACTOR - Static variable in class io.netty.util.collection.ByteObjectHashMap
-
Default load factor.
- DEFAULT_LOAD_FACTOR - Static variable in class io.netty.util.collection.CharObjectHashMap
-
Default load factor.
- DEFAULT_LOAD_FACTOR - Static variable in class io.netty.util.collection.IntObjectHashMap
-
Default load factor.
- DEFAULT_LOAD_FACTOR - Static variable in class io.netty.util.collection.LongObjectHashMap
-
Default load factor.
- DEFAULT_LOAD_FACTOR - Static variable in class io.netty.util.collection.ShortObjectHashMap
-
Default load factor.
- DefaultAttributeMap - Class in io.netty.util
-
Default
AttributeMapimplementation which not exibit any blocking behaviour on attribute lookup while using a copy-on-write approach on the modify path.
Attributes lookup and remove exibitO(logn)time worst-case complexity, henceattribute::set(null)is to be preferred toremove. - DefaultAttributeMap() - Constructor for class io.netty.util.DefaultAttributeMap
- DefaultEventExecutor - Class in io.netty.util.concurrent
-
Default
SingleThreadEventExecutorimplementation which just execute all submitted task in a serial fashion. - DefaultEventExecutor() - Constructor for class io.netty.util.concurrent.DefaultEventExecutor
- DefaultEventExecutor(EventExecutorGroup) - Constructor for class io.netty.util.concurrent.DefaultEventExecutor
- DefaultEventExecutor(EventExecutorGroup, Executor) - Constructor for class io.netty.util.concurrent.DefaultEventExecutor
- DefaultEventExecutor(EventExecutorGroup, Executor, int, RejectedExecutionHandler) - Constructor for class io.netty.util.concurrent.DefaultEventExecutor
- DefaultEventExecutor(EventExecutorGroup, ThreadFactory) - Constructor for class io.netty.util.concurrent.DefaultEventExecutor
- DefaultEventExecutor(EventExecutorGroup, ThreadFactory, int, RejectedExecutionHandler) - Constructor for class io.netty.util.concurrent.DefaultEventExecutor
- DefaultEventExecutor(Executor) - Constructor for class io.netty.util.concurrent.DefaultEventExecutor
- DefaultEventExecutor(ThreadFactory) - Constructor for class io.netty.util.concurrent.DefaultEventExecutor
- DefaultEventExecutorChooserFactory - Class in io.netty.util.concurrent
-
Default implementation which uses simple round-robin to choose next
EventExecutor. - DefaultEventExecutorGroup - Class in io.netty.util.concurrent
-
Default implementation of
MultithreadEventExecutorGroupwhich will useDefaultEventExecutorinstances to handle the tasks. - DefaultEventExecutorGroup(int) - Constructor for class io.netty.util.concurrent.DefaultEventExecutorGroup
- DefaultEventExecutorGroup(int, ThreadFactory) - Constructor for class io.netty.util.concurrent.DefaultEventExecutorGroup
-
Create a new instance.
- DefaultEventExecutorGroup(int, ThreadFactory, int, RejectedExecutionHandler) - Constructor for class io.netty.util.concurrent.DefaultEventExecutorGroup
-
Create a new instance.
- defaultMachineId() - Static method in class io.netty.util.internal.MacAddressUtil
-
Returns the result of
MacAddressUtil.bestAvailableMac()if non-nullotherwise returns a random EUI-64 MAC address. - DefaultPriorityQueue<T extends PriorityQueueNode> - Class in io.netty.util.internal
-
A priority queue which uses natural ordering of elements.
- DefaultPriorityQueue(Comparator<T>, int) - Constructor for class io.netty.util.internal.DefaultPriorityQueue
- DefaultProgressivePromise<V> - Class in io.netty.util.concurrent
- DefaultProgressivePromise() - Constructor for class io.netty.util.concurrent.DefaultProgressivePromise
- DefaultProgressivePromise(EventExecutor) - Constructor for class io.netty.util.concurrent.DefaultProgressivePromise
-
Creates a new instance.
- DefaultPromise<V> - Class in io.netty.util.concurrent
- DefaultPromise() - Constructor for class io.netty.util.concurrent.DefaultPromise
-
See
DefaultPromise.executor()for expectations of the executor. - DefaultPromise(EventExecutor) - Constructor for class io.netty.util.concurrent.DefaultPromise
-
Creates a new instance.
- DefaultThreadFactory - Class in io.netty.util.concurrent
-
A
ThreadFactoryimplementation with a simple naming rule. - DefaultThreadFactory(Class<?>) - Constructor for class io.netty.util.concurrent.DefaultThreadFactory
- DefaultThreadFactory(Class<?>, boolean) - Constructor for class io.netty.util.concurrent.DefaultThreadFactory
- DefaultThreadFactory(Class<?>, boolean, int) - Constructor for class io.netty.util.concurrent.DefaultThreadFactory
- DefaultThreadFactory(Class<?>, int) - Constructor for class io.netty.util.concurrent.DefaultThreadFactory
- DefaultThreadFactory(String) - Constructor for class io.netty.util.concurrent.DefaultThreadFactory
- DefaultThreadFactory(String, boolean) - Constructor for class io.netty.util.concurrent.DefaultThreadFactory
- DefaultThreadFactory(String, boolean, int) - Constructor for class io.netty.util.concurrent.DefaultThreadFactory
- DefaultThreadFactory(String, boolean, int, ThreadGroup) - Constructor for class io.netty.util.concurrent.DefaultThreadFactory
- DefaultThreadFactory(String, int) - Constructor for class io.netty.util.concurrent.DefaultThreadFactory
- delayNanos(long) - Method in class io.netty.util.concurrent.SingleThreadEventExecutor
-
Returns the amount of time left until the scheduled task with the closest dead line is executed.
- destroy() - Static method in class io.netty.util.concurrent.FastThreadLocal
-
Destroys the data structure that keeps all
FastThreadLocalvariables accessed from non-FastThreadLocalThreads. - destroy() - Static method in class io.netty.util.internal.InternalThreadLocalMap
- directBuffer(long, int) - Static method in class io.netty.util.internal.PlatformDependent
- directBufferAddress(ByteBuffer) - Static method in class io.netty.util.internal.PlatformDependent
- directBufferPreferred() - Static method in class io.netty.util.internal.PlatformDependent
-
Returns
trueif the platform has reliable low-level direct buffer access API and a user has not specified-Dio.netty.noPreferDirectoption. - DISABLED - io.netty.util.ResourceLeakDetector.Level
-
Disables resource leak detection.
- DomainMappingBuilder<V> - Class in io.netty.util
-
Deprecated.Use
DomainWildcardMappingBuilderinstead. - DomainMappingBuilder(int, V) - Constructor for class io.netty.util.DomainMappingBuilder
-
Deprecated.Constructor with initial capacity of the map holding the mappings
- DomainMappingBuilder(V) - Constructor for class io.netty.util.DomainMappingBuilder
-
Deprecated.Constructor with default initial capacity of the map holding the mappings
- DomainNameMapping<V> - Class in io.netty.util
-
Deprecated.
- DomainNameMapping(int, V) - Constructor for class io.netty.util.DomainNameMapping
-
Deprecated.use
DomainNameMappingBuilderto create and fill the mapping instead - DomainNameMapping(V) - Constructor for class io.netty.util.DomainNameMapping
-
Deprecated.use
DomainNameMappingBuilderto create and fill the mapping instead - DomainNameMappingBuilder<V> - Class in io.netty.util
-
Deprecated.
- DomainNameMappingBuilder(int, V) - Constructor for class io.netty.util.DomainNameMappingBuilder
-
Deprecated.Constructor with initial capacity of the map holding the mappings
- DomainNameMappingBuilder(V) - Constructor for class io.netty.util.DomainNameMappingBuilder
-
Deprecated.Constructor with default initial capacity of the map holding the mappings
- DomainWildcardMappingBuilder<V> - Class in io.netty.util
-
Builder that allows to build
Mappings that support DNS wildcard matching. - DomainWildcardMappingBuilder(int, V) - Constructor for class io.netty.util.DomainWildcardMappingBuilder
-
Constructor with initial capacity of the map holding the mappings
- DomainWildcardMappingBuilder(V) - Constructor for class io.netty.util.DomainWildcardMappingBuilder
-
Constructor with default initial capacity of the map holding the mappings
- DOUBLE_QUOTE - Static variable in class io.netty.util.internal.StringUtil
E
- element() - Method in class io.netty.util.internal.EmptyPriorityQueue
- EMPTY_ASCII_STRINGS - Static variable in class io.netty.util.internal.EmptyArrays
- EMPTY_BYTE_BUFFERS - Static variable in class io.netty.util.internal.EmptyArrays
- EMPTY_BYTES - Static variable in class io.netty.util.internal.EmptyArrays
- EMPTY_CERTIFICATES - Static variable in class io.netty.util.internal.EmptyArrays
- EMPTY_CHARS - Static variable in class io.netty.util.internal.EmptyArrays
- EMPTY_CLASSES - Static variable in class io.netty.util.internal.EmptyArrays
- EMPTY_INTS - Static variable in class io.netty.util.internal.EmptyArrays
- EMPTY_JAVAX_X509_CERTIFICATES - Static variable in class io.netty.util.internal.EmptyArrays
- EMPTY_OBJECTS - Static variable in class io.netty.util.internal.EmptyArrays
- EMPTY_STACK_TRACE - Static variable in class io.netty.util.internal.EmptyArrays
- EMPTY_STRING - Static variable in class io.netty.util.AsciiString
- EMPTY_STRING - Static variable in class io.netty.util.internal.StringUtil
- EMPTY_STRINGS - Static variable in class io.netty.util.internal.EmptyArrays
- EMPTY_THROWABLES - Static variable in class io.netty.util.internal.EmptyArrays
- EMPTY_X509_CERTIFICATES - Static variable in class io.netty.util.internal.EmptyArrays
- EmptyArrays - Class in io.netty.util.internal
- emptyMap() - Static method in class io.netty.util.collection.ByteCollections
-
Returns an unmodifiable empty
ByteObjectMap. - emptyMap() - Static method in class io.netty.util.collection.CharCollections
-
Returns an unmodifiable empty
CharObjectMap. - emptyMap() - Static method in class io.netty.util.collection.IntCollections
-
Returns an unmodifiable empty
IntObjectMap. - emptyMap() - Static method in class io.netty.util.collection.LongCollections
-
Returns an unmodifiable empty
LongObjectMap. - emptyMap() - Static method in class io.netty.util.collection.ShortCollections
-
Returns an unmodifiable empty
ShortObjectMap. - EmptyPriorityQueue<T> - Class in io.netty.util.internal
- encoder(Charset) - Static method in class io.netty.util.CharsetUtil
-
Returns a cached thread-local
CharsetEncoderfor the specifiedCharset. - encoder(Charset, CodingErrorAction) - Static method in class io.netty.util.CharsetUtil
-
Returns a new
CharsetEncoderfor theCharsetwith the specified error action. - encoder(Charset, CodingErrorAction, CodingErrorAction) - Static method in class io.netty.util.CharsetUtil
-
Returns a new
CharsetEncoderfor theCharsetwith specified error actions. - endsWith(CharSequence) - Method in class io.netty.util.AsciiString
-
Compares the specified string to this string to determine if the specified string is a suffix.
- endsWith(CharSequence, char) - Static method in class io.netty.util.internal.StringUtil
-
Determine if the string
sends with the charc. - entries() - Method in class io.netty.util.collection.ByteObjectHashMap
- entries() - Method in interface io.netty.util.collection.ByteObjectMap
-
Gets an iterable to traverse over the primitive entries contained in this map.
- entries() - Method in class io.netty.util.collection.CharObjectHashMap
- entries() - Method in interface io.netty.util.collection.CharObjectMap
-
Gets an iterable to traverse over the primitive entries contained in this map.
- entries() - Method in class io.netty.util.collection.IntObjectHashMap
- entries() - Method in interface io.netty.util.collection.IntObjectMap
-
Gets an iterable to traverse over the primitive entries contained in this map.
- entries() - Method in class io.netty.util.collection.LongObjectHashMap
- entries() - Method in interface io.netty.util.collection.LongObjectMap
-
Gets an iterable to traverse over the primitive entries contained in this map.
- entries() - Method in class io.netty.util.collection.ShortObjectHashMap
- entries() - Method in interface io.netty.util.collection.ShortObjectMap
-
Gets an iterable to traverse over the primitive entries contained in this map.
- entrySet() - Method in class io.netty.util.collection.ByteObjectHashMap
- entrySet() - Method in class io.netty.util.collection.CharObjectHashMap
- entrySet() - Method in class io.netty.util.collection.IntObjectHashMap
- entrySet() - Method in class io.netty.util.collection.LongObjectHashMap
- entrySet() - Method in class io.netty.util.collection.ShortObjectHashMap
- equals(byte[], int, byte[], int, int) - Static method in class io.netty.util.internal.PlatformDependent
-
Compare two
bytearrays for equality. - equals(Object) - Method in class io.netty.util.AbstractConstant
- equals(Object) - Method in class io.netty.util.AsciiString
- equals(Object) - Method in class io.netty.util.collection.ByteObjectHashMap
- equals(Object) - Method in class io.netty.util.collection.CharObjectHashMap
- equals(Object) - Method in class io.netty.util.collection.IntObjectHashMap
- equals(Object) - Method in class io.netty.util.collection.LongObjectHashMap
- equals(Object) - Method in class io.netty.util.collection.ShortObjectHashMap
- equals(Object) - Method in class io.netty.util.internal.EmptyPriorityQueue
- equals(Object) - Method in exception io.netty.util.ResourceLeakException
-
Deprecated.
- equals(Object) - Method in error io.netty.util.Signal
- equals(T, T) - Method in interface io.netty.util.HashingStrategy
-
Returns
trueif the arguments are equal to each other andfalseotherwise. - equalsConstantTime(byte[], int, byte[], int, int) - Static method in class io.netty.util.internal.ConstantTimeUtils
-
Compare two
bytearrays for equality without leaking timing information. - equalsConstantTime(byte[], int, byte[], int, int) - Static method in class io.netty.util.internal.PlatformDependent
-
Compare two
bytearrays for equality without leaking timing information. - equalsConstantTime(int, int) - Static method in class io.netty.util.internal.ConstantTimeUtils
-
Compare two
ints without leaking timing information. - equalsConstantTime(long, long) - Static method in class io.netty.util.internal.ConstantTimeUtils
-
Compare two
longss without leaking timing information. - equalsConstantTime(CharSequence, CharSequence) - Static method in class io.netty.util.internal.ConstantTimeUtils
-
Compare two
CharSequenceobjects without leaking timing information. - error(String) - Method in interface io.netty.util.internal.logging.InternalLogger
-
Log a message at the ERROR level.
- error(String, Object) - Method in interface io.netty.util.internal.logging.InternalLogger
-
Log a message at the ERROR level according to the specified format and argument.
- error(String, Object...) - Method in interface io.netty.util.internal.logging.InternalLogger
-
Log a message at the ERROR level according to the specified format and arguments.
- error(String, Object, Object) - Method in interface io.netty.util.internal.logging.InternalLogger
-
Log a message at the ERROR level according to the specified format and arguments.
- error(String, Throwable) - Method in interface io.netty.util.internal.logging.InternalLogger
-
Log an exception (throwable) at the ERROR level with an accompanying message.
- error(Throwable) - Method in class io.netty.util.internal.logging.AbstractInternalLogger
- error(Throwable) - Method in interface io.netty.util.internal.logging.InternalLogger
-
Log an exception (throwable) at the ERROR level.
- ERROR - io.netty.util.internal.logging.InternalLogLevel
-
'ERROR' log level.
- escapeCsv(CharSequence) - Static method in class io.netty.util.internal.StringUtil
-
Escapes the specified value, if necessary according to RFC-4180.
- escapeCsv(CharSequence, boolean) - Static method in class io.netty.util.internal.StringUtil
-
Escapes the specified value, if necessary according to RFC-4180.
- estimateMaxDirectMemory() - Static method in class io.netty.util.internal.PlatformDependent
-
Compute an estimate of the maximum amount of direct memory available to this JVM.
- EventExecutor - Interface in io.netty.util.concurrent
-
The
EventExecutoris a specialEventExecutorGroupwhich comes with some handy methods to see if aThreadis executed in a event loop. - EventExecutorChooserFactory - Interface in io.netty.util.concurrent
-
Factory that creates new
EventExecutorChooserFactory.EventExecutorChoosers. - EventExecutorChooserFactory.EventExecutorChooser - Interface in io.netty.util.concurrent
-
Chooses the next
EventExecutorto use. - EventExecutorGroup - Interface in io.netty.util.concurrent
-
The
EventExecutorGroupis responsible for providing theEventExecutor's to use via itsEventExecutorGroup.next()method. - execute(Runnable) - Method in class io.netty.util.concurrent.AbstractEventExecutorGroup
- execute(Runnable) - Method in class io.netty.util.concurrent.GlobalEventExecutor
- execute(Runnable) - Method in class io.netty.util.concurrent.ImmediateEventExecutor
- execute(Runnable) - Method in class io.netty.util.concurrent.ImmediateExecutor
- execute(Runnable) - Method in class io.netty.util.concurrent.NonStickyEventExecutorGroup
- execute(Runnable) - Method in class io.netty.util.concurrent.SingleThreadEventExecutor
- execute(Runnable) - Method in class io.netty.util.concurrent.ThreadPerTaskExecutor
- execute(Runnable) - Method in class io.netty.util.concurrent.UnorderedThreadPoolEventExecutor
- executor() - Method in class io.netty.util.concurrent.CompleteFuture
-
Return the
EventExecutorwhich is used by thisCompleteFuture. - executor() - Method in class io.netty.util.concurrent.DefaultPromise
-
Get the executor used to notify listeners when this promise is complete.
- executorCount() - Method in class io.netty.util.concurrent.MultithreadEventExecutorGroup
-
Return the number of
EventExecutorthis implementation uses. - exists(String) - Static method in class io.netty.util.AttributeKey
- exists(String) - Method in class io.netty.util.ConstantPool
- expect(Signal) - Method in error io.netty.util.Signal
-
Check if the given
Signalis the same as this instance.
F
- failAndRecycle(Throwable) - Method in class io.netty.util.internal.PendingWrite
-
Fails the underlying
Promisewith the given cause and recycle this instance. - FailedFuture<V> - Class in io.netty.util.concurrent
-
The
CompleteFuturewhich is failed already. - FailedFuture(EventExecutor, Throwable) - Constructor for class io.netty.util.concurrent.FailedFuture
-
Creates a new instance.
- FALSE_SUPPLIER - Static variable in interface io.netty.util.BooleanSupplier
-
A supplier which always returns
falseand never throws. - FALSE_SUPPLIER - Static variable in interface io.netty.util.UncheckedBooleanSupplier
-
A supplier which always returns
falseand never throws. - FastThreadLocal<V> - Class in io.netty.util.concurrent
-
A special variant of
ThreadLocalthat yields higher access performance when accessed from aFastThreadLocalThread. - FastThreadLocal() - Constructor for class io.netty.util.concurrent.FastThreadLocal
- FastThreadLocalThread - Class in io.netty.util.concurrent
-
A special
Threadthat provides fast access toFastThreadLocalvariables. - FastThreadLocalThread() - Constructor for class io.netty.util.concurrent.FastThreadLocalThread
- FastThreadLocalThread(Runnable) - Constructor for class io.netty.util.concurrent.FastThreadLocalThread
- FastThreadLocalThread(Runnable, String) - Constructor for class io.netty.util.concurrent.FastThreadLocalThread
- FastThreadLocalThread(String) - Constructor for class io.netty.util.concurrent.FastThreadLocalThread
- FastThreadLocalThread(ThreadGroup, Runnable) - Constructor for class io.netty.util.concurrent.FastThreadLocalThread
- FastThreadLocalThread(ThreadGroup, Runnable, String) - Constructor for class io.netty.util.concurrent.FastThreadLocalThread
- FastThreadLocalThread(ThreadGroup, Runnable, String, long) - Constructor for class io.netty.util.concurrent.FastThreadLocalThread
- FastThreadLocalThread(ThreadGroup, String) - Constructor for class io.netty.util.concurrent.FastThreadLocalThread
- fillInStackTrace() - Method in error io.netty.util.Signal
- finalize() - Method in class io.netty.util.HashedWheelTimer
- find(Object, Class<?>, String) - Static method in class io.netty.util.internal.TypeParameterMatcher
- FIND_ASCII_SPACE - Static variable in interface io.netty.util.ByteProcessor
-
Aborts on a ascii space character (
' '). - FIND_COMMA - Static variable in interface io.netty.util.ByteProcessor
-
Aborts on a comma
(','). - FIND_CR - Static variable in interface io.netty.util.ByteProcessor
-
Aborts on a
CR ('\r'). - FIND_CRLF - Static variable in interface io.netty.util.ByteProcessor
-
Aborts on a
CR ('\r')or aLF ('\n'). - FIND_LF - Static variable in interface io.netty.util.ByteProcessor
-
Aborts on a
LF ('\n'). - FIND_LINEAR_WHITESPACE - Static variable in interface io.netty.util.ByteProcessor
-
Aborts on a linear whitespace (a (
' 'or a'\t'). - FIND_NON_CR - Static variable in interface io.netty.util.ByteProcessor
-
Aborts on a non-
CR ('\r'). - FIND_NON_CRLF - Static variable in interface io.netty.util.ByteProcessor
-
Aborts on a byte which is neither a
CR ('\r')nor aLF ('\n'). - FIND_NON_LF - Static variable in interface io.netty.util.ByteProcessor
-
Aborts on a non-
LF ('\n'). - FIND_NON_LINEAR_WHITESPACE - Static variable in interface io.netty.util.ByteProcessor
-
Aborts on a byte which is not a linear whitespace (neither
' 'nor'\t'). - FIND_NON_NUL - Static variable in interface io.netty.util.ByteProcessor
-
Aborts on a non-
NUL (0x00). - FIND_NUL - Static variable in interface io.netty.util.ByteProcessor
-
Aborts on a
NUL (0x00). - FIND_SEMI_COLON - Static variable in interface io.netty.util.ByteProcessor
-
Aborts on a semicolon
(';'). - findNextPositivePowerOfTwo(int) - Static method in class io.netty.util.internal.MathUtil
-
Fast method of finding the next power of 2 greater than or equal to the supplied value.
- finish(Promise<Void>) - Method in class io.netty.util.concurrent.PromiseCombiner
-
Sets the promise to be notified when all combined futures have finished.
- forEachByte(int, int, ByteProcessor) - Method in class io.netty.util.AsciiString
-
Iterates over the specified area of this buffer with the specified
processorin ascending order. - forEachByte(ByteProcessor) - Method in class io.netty.util.AsciiString
-
Iterates over the readable bytes of this buffer with the specified
processorin ascending order. - forEachByteDesc(int, int, ByteProcessor) - Method in class io.netty.util.AsciiString
-
Iterates over the specified area of this buffer with the specified
processorin descending order. - forEachByteDesc(ByteProcessor) - Method in class io.netty.util.AsciiString
-
Iterates over the readable bytes of this buffer with the specified
processorin descending order. - format(String, Object) - Static method in class io.netty.util.internal.logging.MessageFormatter
-
Performs single argument substitution for the 'messagePattern' passed as parameter.
- format(String, Object, Object) - Static method in class io.netty.util.internal.logging.MessageFormatter
-
Performs a two argument substitution for the 'messagePattern' passed as parameter.
- formatAddress(byte[]) - Static method in class io.netty.util.internal.MacAddressUtil
- FormattingTuple - Class in io.netty.util.internal.logging
-
Holds the results of formatting done by
MessageFormatter. - FormattingTuple(String, Throwable) - Constructor for class io.netty.util.internal.logging.FormattingTuple
- freeDirectBuffer(ByteBuffer) - Static method in class io.netty.util.internal.PlatformDependent
-
Try to deallocate the specified direct
ByteBuffer. - freeDirectNoCleaner(ByteBuffer) - Static method in class io.netty.util.internal.PlatformDependent
-
This method MUST only be called for
ByteBuffers that were allocated viaPlatformDependent.allocateDirectNoCleaner(int). - freeMemory(long) - Static method in class io.netty.util.internal.PlatformDependent
- Future<V> - Interface in io.netty.util.concurrent
-
The result of an asynchronous operation.
- FutureListener<V> - Interface in io.netty.util.concurrent
-
A subtype of
GenericFutureListenerthat hides type parameter for convenience. - futureListenerStackDepth() - Method in class io.netty.util.internal.InternalThreadLocalMap
G
- GenericFutureListener<F extends Future<?>> - Interface in io.netty.util.concurrent
-
Listens to the result of a
Future. - GenericProgressiveFutureListener<F extends ProgressiveFuture<?>> - Interface in io.netty.util.concurrent
- get() - Method in interface io.netty.util.Attribute
-
Returns the current value, which may be
null - get() - Method in interface io.netty.util.BooleanSupplier
-
Gets a boolean value.
- get() - Method in class io.netty.util.concurrent.AbstractFuture
- get() - Method in class io.netty.util.concurrent.DefaultPromise
- get() - Method in class io.netty.util.concurrent.FastThreadLocal
-
Returns the current value for the current thread
- get() - Static method in class io.netty.util.internal.InternalThreadLocalMap
- get() - Method in class io.netty.util.internal.ObjectPool
-
Get a
Objectfrom theObjectPool. - get() - Method in interface io.netty.util.IntSupplier
-
Gets a result.
- get() - Method in class io.netty.util.Recycler
- get() - Method in interface io.netty.util.UncheckedBooleanSupplier
-
Gets a boolean value.
- get(byte) - Method in class io.netty.util.collection.ByteObjectHashMap
- get(byte) - Method in interface io.netty.util.collection.ByteObjectMap
-
Gets the value in the map with the specified key.
- get(char) - Method in class io.netty.util.collection.CharObjectHashMap
- get(char) - Method in interface io.netty.util.collection.CharObjectMap
-
Gets the value in the map with the specified key.
- get(int) - Method in class io.netty.util.collection.IntObjectHashMap
- get(int) - Method in interface io.netty.util.collection.IntObjectMap
-
Gets the value in the map with the specified key.
- get(long) - Method in class io.netty.util.collection.LongObjectHashMap
- get(long) - Method in interface io.netty.util.collection.LongObjectMap
-
Gets the value in the map with the specified key.
- get(long, TimeUnit) - Method in class io.netty.util.concurrent.AbstractFuture
- get(long, TimeUnit) - Method in class io.netty.util.concurrent.DefaultPromise
- get(short) - Method in class io.netty.util.collection.ShortObjectHashMap
- get(short) - Method in interface io.netty.util.collection.ShortObjectMap
-
Gets the value in the map with the specified key.
- get(InternalThreadLocalMap) - Method in class io.netty.util.concurrent.FastThreadLocal
-
Returns the current value for the specified thread local map.
- get(Class<?>) - Static method in class io.netty.util.internal.TypeParameterMatcher
- get(Object) - Method in class io.netty.util.collection.ByteObjectHashMap
- get(Object) - Method in class io.netty.util.collection.CharObjectHashMap
- get(Object) - Method in class io.netty.util.collection.IntObjectHashMap
- get(Object) - Method in class io.netty.util.collection.LongObjectHashMap
- get(Object) - Method in class io.netty.util.collection.ShortObjectHashMap
- get(String) - Static method in class io.netty.util.internal.SystemPropertyUtil
-
Returns the value of the Java system property with the specified
key, while falling back tonullif the property access fails. - get(String, String) - Static method in class io.netty.util.internal.SystemPropertyUtil
-
Returns the value of the Java system property with the specified
key, while falling back to the specified default value if the property access fails. - getAndRemove() - Method in interface io.netty.util.Attribute
-
Deprecated.please consider using
Attribute.getAndSet(Object)(with value ofnull). - getAndSet(T) - Method in interface io.netty.util.Attribute
-
Atomically sets to the given value and returns the old value which may be
nullif non was set before. - getBoolean(String, boolean) - Static method in class io.netty.util.internal.SystemPropertyUtil
-
Returns the value of the Java system property with the specified
key, while falling back to the specified default value if the property access fails. - getByName(CharSequence) - Static method in class io.netty.util.NetUtil
-
Returns the
Inet6Addressrepresentation of aCharSequenceIP address. - getByName(CharSequence, boolean) - Static method in class io.netty.util.NetUtil
-
Returns the
Inet6Addressrepresentation of aCharSequenceIP address. - getByte(byte[], int) - Static method in class io.netty.util.internal.PlatformDependent
- getByte(byte[], long) - Static method in class io.netty.util.internal.PlatformDependent
- getByte(long) - Static method in class io.netty.util.internal.PlatformDependent
- getClassLoader(Class<?>) - Static method in class io.netty.util.internal.PlatformDependent
-
Return the
ClassLoaderfor the givenClass. - getContextClassLoader() - Static method in class io.netty.util.internal.PlatformDependent
-
Return the context
ClassLoaderfor the currentThread. - getCurrentTimeNanos() - Method in class io.netty.util.concurrent.AbstractScheduledEventExecutor
-
Get the current time in nanoseconds by this executor's clock.
- getDecoder(Charset) - Static method in class io.netty.util.CharsetUtil
-
Deprecated.
- getDefaultFactory() - Static method in class io.netty.util.internal.logging.InternalLoggerFactory
-
Returns the default factory.
- getEncoder(Charset) - Static method in class io.netty.util.CharsetUtil
-
Deprecated.
- getFile(Class, String) - Static method in class io.netty.util.internal.ResourcesUtil
- getHostname(InetSocketAddress) - Static method in class io.netty.util.NetUtil
-
Returns
InetSocketAddress.getHostString(). - getIfExists() - Method in class io.netty.util.concurrent.FastThreadLocal
-
Returns the current value for the current thread if it exists,
nullotherwise. - getIfSet() - Static method in class io.netty.util.internal.InternalThreadLocalMap
- getIndex(long, boolean) - Static method in class io.netty.util.internal.SWARUtil
-
Returns the index of the first occurrence of byte that specificied in the pattern.
- getInitialHint(String) - Method in class io.netty.util.ResourceLeakDetector
-
Create a hint object to be attached to an object tracked by this record.
- getInitialSeedUniquifier() - Static method in class io.netty.util.internal.ThreadLocalRandom
-
Deprecated.
- getInstance(Class<?>) - Static method in class io.netty.util.internal.logging.InternalLoggerFactory
-
Creates a new logger instance with the name of the specified class.
- getInstance(String) - Static method in class io.netty.util.internal.logging.InternalLoggerFactory
-
Creates a new logger instance with the specified name.
- getInt(byte[], int) - Static method in class io.netty.util.internal.PlatformDependent
- getInt(int[], long) - Static method in class io.netty.util.internal.PlatformDependent
- getInt(long) - Static method in class io.netty.util.internal.PlatformDependent
- getInt(Object, long) - Static method in class io.netty.util.internal.PlatformDependent
- getInt(String, int) - Static method in class io.netty.util.internal.SystemPropertyUtil
-
Returns the value of the Java system property with the specified
key, while falling back to the specified default value if the property access fails. - getIntVolatile(long) - Static method in class io.netty.util.internal.PlatformDependent
- getLevel() - Static method in class io.netty.util.ResourceLeakDetector
-
Returns the current resource leak detection level.
- getLiveSetCount() - Static method in class io.netty.util.internal.ObjectCleaner
- getLong(byte[], int) - Static method in class io.netty.util.internal.PlatformDependent
- getLong(long) - Static method in class io.netty.util.internal.PlatformDependent
- getLong(long[], long) - Static method in class io.netty.util.internal.PlatformDependent
- getLong(String, long) - Static method in class io.netty.util.internal.SystemPropertyUtil
-
Returns the value of the Java system property with the specified
key, while falling back to the specified default value if the property access fails. - getMessage() - Method in class io.netty.util.internal.logging.FormattingTuple
- getNow() - Method in class io.netty.util.concurrent.DefaultPromise
- getNow() - Method in class io.netty.util.concurrent.FailedFuture
- getNow() - Method in interface io.netty.util.concurrent.Future
-
Return the result without blocking.
- getNow() - Method in class io.netty.util.concurrent.SucceededFuture
- getObject(Object, long) - Static method in class io.netty.util.internal.PlatformDependent
- getShort(byte[], int) - Static method in class io.netty.util.internal.PlatformDependent
- getShort(long) - Static method in class io.netty.util.internal.PlatformDependent
- getSuppressed(Throwable) - Static method in class io.netty.util.internal.ThrowableUtil
- getSystemClassLoader() - Static method in class io.netty.util.internal.PlatformDependent
-
Return the system
ClassLoader. - getThrowable() - Method in class io.netty.util.internal.logging.FormattingTuple
- getUnsafeOffset(Class<? extends ReferenceCounted>, String) - Static method in class io.netty.util.internal.ReferenceCountUpdater
- getUnsafeUnavailabilityCause() - Static method in class io.netty.util.internal.PlatformDependent
-
Return the reason (if any) why
sun.misc.Unsafewas not available. - GlobalEventExecutor - Class in io.netty.util.concurrent
-
Single-thread singleton
EventExecutor.
H
- handlerSharableCache() - Method in class io.netty.util.internal.InternalThreadLocalMap
- hardwareAddressFromNetworkInterface(NetworkInterface) - Static method in class io.netty.util.internal.SocketUtils
- hasAlignDirectByteBuffer() - Static method in class io.netty.util.internal.PlatformDependent
- hasAttr(AttributeKey<T>) - Method in interface io.netty.util.AttributeMap
- hasAttr(AttributeKey<T>) - Method in class io.netty.util.DefaultAttributeMap
- hasDirectBufferNoCleanerConstructor() - Static method in class io.netty.util.internal.PlatformDependent
- hashCode() - Method in class io.netty.util.AbstractConstant
- hashCode() - Method in class io.netty.util.AsciiString
- hashCode() - Method in class io.netty.util.collection.ByteObjectHashMap
- hashCode() - Method in class io.netty.util.collection.CharObjectHashMap
- hashCode() - Method in class io.netty.util.collection.IntObjectHashMap
- hashCode() - Method in class io.netty.util.collection.LongObjectHashMap
- hashCode() - Method in class io.netty.util.collection.ShortObjectHashMap
- hashCode() - Method in class io.netty.util.internal.EmptyPriorityQueue
- hashCode() - Method in exception io.netty.util.ResourceLeakException
-
Deprecated.
- hashCode() - Method in error io.netty.util.Signal
- hashCode(CharSequence) - Static method in class io.netty.util.AsciiString
-
Returns the case-insensitive hash code of the specified string.
- hashCode(T) - Method in interface io.netty.util.HashingStrategy
-
Generate a hash code for
obj. - hashCodeAscii(byte[], int, int) - Static method in class io.netty.util.internal.PlatformDependent
-
Calculate a hash code of a byte array assuming ASCII character encoding.
- hashCodeAscii(CharSequence) - Static method in class io.netty.util.internal.PlatformDependent
-
Calculate a hash code of a byte array assuming ASCII character encoding.
- HashedWheelTimer - Class in io.netty.util
-
A
Timeroptimized for approximated I/O timeout scheduling. - HashedWheelTimer() - Constructor for class io.netty.util.HashedWheelTimer
-
Creates a new timer with the default thread factory (
Executors.defaultThreadFactory()), default tick duration, and default number of ticks per wheel. - HashedWheelTimer(long, TimeUnit) - Constructor for class io.netty.util.HashedWheelTimer
-
Creates a new timer with the default thread factory (
Executors.defaultThreadFactory()) and default number of ticks per wheel. - HashedWheelTimer(long, TimeUnit, int) - Constructor for class io.netty.util.HashedWheelTimer
-
Creates a new timer with the default thread factory (
Executors.defaultThreadFactory()). - HashedWheelTimer(ThreadFactory) - Constructor for class io.netty.util.HashedWheelTimer
-
Creates a new timer with the default tick duration and default number of ticks per wheel.
- HashedWheelTimer(ThreadFactory, long, TimeUnit) - Constructor for class io.netty.util.HashedWheelTimer
-
Creates a new timer with the default number of ticks per wheel.
- HashedWheelTimer(ThreadFactory, long, TimeUnit, int) - Constructor for class io.netty.util.HashedWheelTimer
-
Creates a new timer.
- HashedWheelTimer(ThreadFactory, long, TimeUnit, int, boolean) - Constructor for class io.netty.util.HashedWheelTimer
-
Creates a new timer.
- HashedWheelTimer(ThreadFactory, long, TimeUnit, int, boolean, long) - Constructor for class io.netty.util.HashedWheelTimer
-
Creates a new timer.
- HashedWheelTimer(ThreadFactory, long, TimeUnit, int, boolean, long, Executor) - Constructor for class io.netty.util.HashedWheelTimer
-
Creates a new timer.
- HashingStrategy<T> - Interface in io.netty.util
-
Abstraction for hash code generation and equality comparison.
- hasNext() - Method in class io.netty.util.internal.ReadOnlyIterator
- hasScheduledTasks() - Method in class io.netty.util.concurrent.AbstractScheduledEventExecutor
-
Returns
trueif a scheduled task is ready for processing. - hasTasks() - Method in class io.netty.util.concurrent.SingleThreadEventExecutor
- hasUnsafe() - Static method in class io.netty.util.internal.PlatformDependent
-
Return
trueifsun.misc.Unsafewas found on the classpath and can be used for accelerated direct memory access. - haveSuppressed() - Static method in class io.netty.util.internal.ThrowableUtil
-
Deprecated.
I
- id() - Method in class io.netty.util.AbstractConstant
- id() - Method in interface io.netty.util.concurrent.ThreadProperties
- id() - Method in interface io.netty.util.Constant
-
Returns the unique number assigned to this
Constant. - id() - Method in error io.netty.util.Signal
- identify() - Static method in class io.netty.util.Version
-
Retrieves the version information of Netty artifacts using the current context class loader.
- identify(ClassLoader) - Static method in class io.netty.util.Version
-
Retrieves the version information of Netty artifacts using the specified
ClassLoader. - IllegalReferenceCountException - Exception in io.netty.util
-
An
IllegalStateExceptionwhich is raised when a user attempts to access aReferenceCountedwhose reference count has been decreased to 0 (and consequently freed). - IllegalReferenceCountException() - Constructor for exception io.netty.util.IllegalReferenceCountException
- IllegalReferenceCountException(int) - Constructor for exception io.netty.util.IllegalReferenceCountException
- IllegalReferenceCountException(int, int) - Constructor for exception io.netty.util.IllegalReferenceCountException
- IllegalReferenceCountException(String) - Constructor for exception io.netty.util.IllegalReferenceCountException
- IllegalReferenceCountException(String, Throwable) - Constructor for exception io.netty.util.IllegalReferenceCountException
- IllegalReferenceCountException(Throwable) - Constructor for exception io.netty.util.IllegalReferenceCountException
- ImmediateEventExecutor - Class in io.netty.util.concurrent
-
Executes
Runnableobjects in the caller's thread. - ImmediateExecutor - Class in io.netty.util.concurrent
-
Executorwhich execute tasks in the callers thread. - increment() - Method in interface io.netty.util.internal.LongCounter
- INDEX_NOT_FOUND - Static variable in class io.netty.util.AsciiString
- INDEX_NOT_IN_QUEUE - Static variable in interface io.netty.util.internal.PriorityQueueNode
-
This should be used to initialize the storage returned by
PriorityQueueNode.priorityQueueIndex(DefaultPriorityQueue). - indexedVariable(int) - Method in class io.netty.util.internal.InternalThreadLocalMap
- IndexNotOfProcessor(byte) - Constructor for class io.netty.util.ByteProcessor.IndexNotOfProcessor
- indexOf(char, int) - Method in class io.netty.util.AsciiString
-
Searches in this string for the index of the specified char
ch. - indexOf(CharSequence) - Method in class io.netty.util.AsciiString
-
Searches in this string for the first index of the specified string.
- indexOf(CharSequence, char, int) - Static method in class io.netty.util.AsciiString
-
Finds the first index in the
CharSequencethat matches the specified character. - indexOf(CharSequence, int) - Method in class io.netty.util.AsciiString
-
Searches in this string for the index of the specified string.
- indexOfIgnoreCase(CharSequence, CharSequence, int) - Static method in class io.netty.util.AsciiString
-
Case in-sensitive find of the first index within a CharSequence from the specified position.
- indexOfIgnoreCaseAscii(CharSequence, CharSequence, int) - Static method in class io.netty.util.AsciiString
-
Case in-sensitive find of the first index within a CharSequence from the specified position.
- indexOfNonWhiteSpace(CharSequence, int) - Static method in class io.netty.util.internal.StringUtil
-
Find the index of the first non-white space character in
sstarting atoffset. - IndexOfProcessor(byte) - Constructor for class io.netty.util.ByteProcessor.IndexOfProcessor
- indexOfWhiteSpace(CharSequence, int) - Static method in class io.netty.util.internal.StringUtil
-
Find the index of the first white space character in
sstarting atoffset. - inEventLoop() - Method in interface io.netty.util.concurrent.EventExecutor
-
Calls
EventExecutor.inEventLoop(Thread)withThread.currentThread()as argument - inEventLoop() - Method in class io.netty.util.concurrent.ImmediateEventExecutor
- inEventLoop() - Method in class io.netty.util.concurrent.UnorderedThreadPoolEventExecutor
- inEventLoop(Thread) - Method in interface io.netty.util.concurrent.EventExecutor
- inEventLoop(Thread) - Method in class io.netty.util.concurrent.GlobalEventExecutor
- inEventLoop(Thread) - Method in class io.netty.util.concurrent.ImmediateEventExecutor
- inEventLoop(Thread) - Method in class io.netty.util.concurrent.SingleThreadEventExecutor
- inEventLoop(Thread) - Method in class io.netty.util.concurrent.UnorderedThreadPoolEventExecutor
- info(String) - Method in interface io.netty.util.internal.logging.InternalLogger
-
Log a message at the INFO level.
- info(String, Object) - Method in interface io.netty.util.internal.logging.InternalLogger
-
Log a message at the INFO level according to the specified format and argument.
- info(String, Object...) - Method in interface io.netty.util.internal.logging.InternalLogger
-
Log a message at the INFO level according to the specified format and arguments.
- info(String, Object, Object) - Method in interface io.netty.util.internal.logging.InternalLogger
-
Log a message at the INFO level according to the specified format and arguments.
- info(String, Throwable) - Method in interface io.netty.util.internal.logging.InternalLogger
-
Log an exception (throwable) at the INFO level with an accompanying message.
- info(Throwable) - Method in class io.netty.util.internal.logging.AbstractInternalLogger
- info(Throwable) - Method in interface io.netty.util.internal.logging.InternalLogger
-
Log an exception (throwable) at the INFO level.
- INFO - io.netty.util.internal.logging.InternalLogLevel
-
'INFO' log level.
- initCause(Throwable) - Method in error io.netty.util.Signal
- initialNanoTime() - Static method in class io.netty.util.concurrent.AbstractScheduledEventExecutor
-
The initial value used for delay and computations based upon a monatomic time source.
- initialValue() - Method in class io.netty.util.concurrent.FastThreadLocal
-
Returns the initial value for this thread-local variable.
- initialValue() - Method in class io.netty.util.internal.ReferenceCountUpdater
- insertSinceRecycled() - Method in class io.netty.util.internal.RecyclableArrayList
-
Returns
trueif any elements where added or set. - instance() - Static method in class io.netty.util.internal.EmptyPriorityQueue
-
Returns an unmodifiable empty
PriorityQueue. - instance() - Static method in class io.netty.util.ResourceLeakDetectorFactory
-
Get the singleton instance of this factory class.
- INSTANCE - Static variable in class io.netty.util.concurrent.DefaultEventExecutorChooserFactory
- INSTANCE - Static variable in class io.netty.util.concurrent.GlobalEventExecutor
- INSTANCE - Static variable in class io.netty.util.concurrent.ImmediateEventExecutor
- INSTANCE - Static variable in class io.netty.util.concurrent.ImmediateExecutor
- INSTANCE - Static variable in class io.netty.util.internal.logging.CommonsLoggerFactory
-
Deprecated.
- INSTANCE - Static variable in class io.netty.util.internal.logging.JdkLoggerFactory
- INSTANCE - Static variable in class io.netty.util.internal.logging.Log4J2LoggerFactory
- INSTANCE - Static variable in class io.netty.util.internal.logging.Log4JLoggerFactory
- INSTANCE - Static variable in class io.netty.util.internal.logging.Slf4JLoggerFactory
- IntCollections - Class in io.netty.util.collection
-
Utilities for int-based primitive collections.
- IntegerHolder - Class in io.netty.util.internal
-
Deprecated.For removal in netty 4.2
- IntegerHolder() - Constructor for class io.netty.util.internal.IntegerHolder
-
Deprecated.
- InternalLogger - Interface in io.netty.util.internal.logging
-
Internal-use-only logger used by Netty.
- InternalLoggerFactory - Class in io.netty.util.internal.logging
-
Creates an
InternalLoggeror changes the default factory implementation. - InternalLoggerFactory() - Constructor for class io.netty.util.internal.logging.InternalLoggerFactory
- InternalLogLevel - Enum in io.netty.util.internal.logging
-
The log level that
InternalLoggercan log at. - InternalThreadLocalMap - Class in io.netty.util.internal
-
The internal data structure that stores the thread-local variables for Netty and all
FastThreadLocals. - interruptThread() - Method in class io.netty.util.concurrent.SingleThreadEventExecutor
-
Interrupt the current running
Thread. - IntObjectHashMap<V> - Class in io.netty.util.collection
-
A hash map implementation of
IntObjectMapthat uses open addressing for keys. - IntObjectHashMap() - Constructor for class io.netty.util.collection.IntObjectHashMap
- IntObjectHashMap(int) - Constructor for class io.netty.util.collection.IntObjectHashMap
- IntObjectHashMap(int, float) - Constructor for class io.netty.util.collection.IntObjectHashMap
- IntObjectMap<V> - Interface in io.netty.util.collection
-
Interface for a primitive map that uses
ints as keys. - IntObjectMap.PrimitiveEntry<V> - Interface in io.netty.util.collection
-
A primitive entry in the map, provided by the iterator from
IntObjectMap.entries() - IntSupplier - Interface in io.netty.util
-
Represents a supplier of
int-valued results. - intToIpAddress(int) - Static method in class io.netty.util.NetUtil
-
Converts a 32-bit integer into an IPv4 address.
- intValue(Integer, int) - Static method in class io.netty.util.internal.ObjectUtil
-
Resolves a possibly null Integer to a primitive int, using a default value.
- invokeAll(Collection<? extends Callable<T>>) - Method in class io.netty.util.concurrent.AbstractEventExecutorGroup
- invokeAll(Collection<? extends Callable<T>>) - Method in class io.netty.util.concurrent.NonStickyEventExecutorGroup
- invokeAll(Collection<? extends Callable<T>>) - Method in class io.netty.util.concurrent.SingleThreadEventExecutor
- invokeAll(Collection<? extends Callable<T>>, long, TimeUnit) - Method in class io.netty.util.concurrent.AbstractEventExecutorGroup
- invokeAll(Collection<? extends Callable<T>>, long, TimeUnit) - Method in class io.netty.util.concurrent.NonStickyEventExecutorGroup
- invokeAll(Collection<? extends Callable<T>>, long, TimeUnit) - Method in class io.netty.util.concurrent.SingleThreadEventExecutor
- invokeAny(Collection<? extends Callable<T>>) - Method in class io.netty.util.concurrent.AbstractEventExecutorGroup
- invokeAny(Collection<? extends Callable<T>>) - Method in class io.netty.util.concurrent.NonStickyEventExecutorGroup
- invokeAny(Collection<? extends Callable<T>>) - Method in class io.netty.util.concurrent.SingleThreadEventExecutor
- invokeAny(Collection<? extends Callable<T>>, long, TimeUnit) - Method in class io.netty.util.concurrent.AbstractEventExecutorGroup
- invokeAny(Collection<? extends Callable<T>>, long, TimeUnit) - Method in class io.netty.util.concurrent.NonStickyEventExecutorGroup
- invokeAny(Collection<? extends Callable<T>>, long, TimeUnit) - Method in class io.netty.util.concurrent.SingleThreadEventExecutor
- io.netty.util - package io.netty.util
-
Utility classes used across multiple packages.
- io.netty.util.collection - package io.netty.util.collection
- io.netty.util.concurrent - package io.netty.util.concurrent
-
Utility classes for concurrent / async tasks.
- io.netty.util.internal - package io.netty.util.internal
-
Internal-use-only utilities which is not allowed to be used outside Netty.
- io.netty.util.internal.logging - package io.netty.util.internal.logging
-
Internal-use-only logging API which is not allowed to be used outside Netty.
- io.netty.util.internal.svm - package io.netty.util.internal.svm
-
SVM substitutions for classes that will cause trouble while compiling into native image.
- ipv4AddressToInt(Inet4Address) - Static method in class io.netty.util.NetUtil
-
Convert
Inet4Addressintoint - isAlive() - Method in interface io.netty.util.concurrent.ThreadProperties
- isAndroid() - Static method in class io.netty.util.internal.PlatformDependent
-
Returns
trueif and only if the current platform is Android - isCancellable() - Method in class io.netty.util.concurrent.CompleteFuture
- isCancellable() - Method in class io.netty.util.concurrent.DefaultPromise
- isCancellable() - Method in interface io.netty.util.concurrent.Future
-
returns
trueif and only if the operation can be cancelled viaFuture.cancel(boolean). - isCancelled() - Method in class io.netty.util.concurrent.CompleteFuture
- isCancelled() - Method in class io.netty.util.concurrent.DefaultPromise
- isCancelled() - Method in interface io.netty.util.Timeout
-
Returns
trueif and only if theTimerTaskassociated with this handle has been cancelled. - isCleanerFlagSet(int) - Method in class io.netty.util.internal.InternalThreadLocalMap
- isDaemon() - Method in interface io.netty.util.concurrent.ThreadProperties
- isDebugEnabled() - Method in interface io.netty.util.internal.logging.InternalLogger
-
Is the logger instance enabled for the DEBUG level?
- isDone() - Method in class io.netty.util.concurrent.CompleteFuture
- isDone() - Method in class io.netty.util.concurrent.DefaultPromise
- isEmpty() - Method in class io.netty.util.AsciiString
-
Determine if this instance has 0 length.
- isEmpty() - Method in class io.netty.util.collection.ByteObjectHashMap
- isEmpty() - Method in class io.netty.util.collection.CharObjectHashMap
- isEmpty() - Method in class io.netty.util.collection.IntObjectHashMap
- isEmpty() - Method in class io.netty.util.collection.LongObjectHashMap
- isEmpty() - Method in class io.netty.util.collection.ShortObjectHashMap
- isEmpty() - Method in class io.netty.util.internal.DefaultPriorityQueue
- isEmpty() - Method in class io.netty.util.internal.EmptyPriorityQueue
- isEnabled() - Static method in class io.netty.util.ResourceLeakDetector
-
Returns
trueif resource leak detection is enabled. - isEnabled(InternalLogLevel) - Method in class io.netty.util.internal.logging.AbstractInternalLogger
- isEnabled(InternalLogLevel) - Method in interface io.netty.util.internal.logging.InternalLogger
-
Is the logger instance enabled for the specified
level? - isEntireArrayUsed() - Method in class io.netty.util.AsciiString
-
Determine if the storage represented by
AsciiString.array()is entirely used. - isErrorEnabled() - Method in interface io.netty.util.internal.logging.InternalLogger
-
Is the logger instance enabled for the ERROR level?
- isExpired() - Method in interface io.netty.util.Timeout
-
Returns
trueif and only if theTimerTaskassociated with this handle has been expired. - isIkvmDotNet() - Static method in class io.netty.util.internal.PlatformDependent
- isIndexedVariableSet(int) - Method in class io.netty.util.internal.InternalThreadLocalMap
- isInfoEnabled() - Method in interface io.netty.util.internal.logging.InternalLogger
-
Is the logger instance enabled for the INFO level?
- isInterrupted() - Method in interface io.netty.util.concurrent.ThreadProperties
- isIpV4StackPreferred() - Static method in class io.netty.util.NetUtil
-
Returns
trueif IPv4 should be used even if the system supports both IPv4 and IPv6. - isIpV6AddressesPreferred() - Static method in class io.netty.util.NetUtil
-
Returns
trueif an IPv6 address should be preferred when a host has both an IPv4 address and an IPv6 address. - isJ9Jvm() - Static method in class io.netty.util.internal.PlatformDependent
- isLiveNonVolatile(T) - Method in class io.netty.util.internal.ReferenceCountUpdater
- isNullOrEmpty(String) - Static method in class io.netty.util.internal.StringUtil
- ISO_8859_1 - Static variable in class io.netty.util.CharsetUtil
-
ISO Latin Alphabet No. 1, as known as ISO-LATIN-1
- isOsx() - Static method in class io.netty.util.internal.PlatformDependent
-
Return
trueif the JVM is running on OSX / MacOS - isOutOfBounds(int, int, int) - Static method in class io.netty.util.internal.MathUtil
-
Determine if the requested
indexandlengthwill fit withincapacity. - isSet() - Method in class io.netty.util.concurrent.FastThreadLocal
-
Returns
trueif and only if this thread-local variable is set. - isSet(InternalThreadLocalMap) - Method in class io.netty.util.concurrent.FastThreadLocal
-
Returns
trueif and only if this thread-local variable is set. - isShutdown() - Method in class io.netty.util.concurrent.GlobalEventExecutor
- isShutdown() - Method in class io.netty.util.concurrent.ImmediateEventExecutor
- isShutdown() - Method in class io.netty.util.concurrent.MultithreadEventExecutorGroup
- isShutdown() - Method in class io.netty.util.concurrent.NonStickyEventExecutorGroup
- isShutdown() - Method in class io.netty.util.concurrent.SingleThreadEventExecutor
- isShuttingDown() - Method in interface io.netty.util.concurrent.EventExecutorGroup
-
Returns
trueif and only if allEventExecutors managed by thisEventExecutorGroupare being shut down gracefully or was shut down. - isShuttingDown() - Method in class io.netty.util.concurrent.GlobalEventExecutor
- isShuttingDown() - Method in class io.netty.util.concurrent.ImmediateEventExecutor
- isShuttingDown() - Method in class io.netty.util.concurrent.MultithreadEventExecutorGroup
- isShuttingDown() - Method in class io.netty.util.concurrent.NonStickyEventExecutorGroup
- isShuttingDown() - Method in class io.netty.util.concurrent.SingleThreadEventExecutor
- isShuttingDown() - Method in class io.netty.util.concurrent.UnorderedThreadPoolEventExecutor
- isSuccess() - Method in class io.netty.util.concurrent.DefaultPromise
- isSuccess() - Method in class io.netty.util.concurrent.FailedFuture
- isSuccess() - Method in interface io.netty.util.concurrent.Future
-
Returns
trueif and only if the I/O operation was completed successfully. - isSuccess() - Method in class io.netty.util.concurrent.SucceededFuture
- isSurrogate(char) - Static method in class io.netty.util.internal.StringUtil
-
Determine if
clies within the range of values defined for Surrogate Code Point. - isTerminated() - Method in class io.netty.util.concurrent.GlobalEventExecutor
- isTerminated() - Method in class io.netty.util.concurrent.ImmediateEventExecutor
- isTerminated() - Method in class io.netty.util.concurrent.MultithreadEventExecutorGroup
- isTerminated() - Method in class io.netty.util.concurrent.NonStickyEventExecutorGroup
- isTerminated() - Method in class io.netty.util.concurrent.SingleThreadEventExecutor
- isTraceEnabled() - Method in interface io.netty.util.internal.logging.InternalLogger
-
Is the logger instance enabled for the TRACE level?
- isUnaligned() - Static method in class io.netty.util.internal.PlatformDependent
-
trueif and only if the platform supports unaligned access. - isUpperCase(byte) - Static method in class io.netty.util.AsciiString
- isUpperCase(char) - Static method in class io.netty.util.AsciiString
- isValidIpV4Address(CharSequence) - Static method in class io.netty.util.NetUtil
-
Takes a
CharSequenceand parses it to see if it is a valid IPV4 address. - isValidIpV4Address(String) - Static method in class io.netty.util.NetUtil
-
Takes a
Stringand parses it to see if it is a valid IPV4 address. - isValidIpV6Address(CharSequence) - Static method in class io.netty.util.NetUtil
- isValidIpV6Address(String) - Static method in class io.netty.util.NetUtil
- isWarnEnabled() - Method in interface io.netty.util.internal.logging.InternalLogger
-
Is the logger instance enabled for the WARN level?
- isWindows() - Static method in class io.netty.util.internal.PlatformDependent
-
Return
trueif the JVM is running on Windows - isZero(byte[], int, int) - Static method in class io.netty.util.internal.PlatformDependent
-
Determine if a subsection of an array is zero.
- iterator() - Method in class io.netty.util.concurrent.AbstractEventExecutor
- iterator() - Method in interface io.netty.util.concurrent.EventExecutorGroup
- iterator() - Method in class io.netty.util.concurrent.MultithreadEventExecutorGroup
- iterator() - Method in class io.netty.util.concurrent.NonStickyEventExecutorGroup
- iterator() - Method in class io.netty.util.concurrent.UnorderedThreadPoolEventExecutor
- iterator() - Method in class io.netty.util.internal.ConcurrentSet
-
Deprecated.
- iterator() - Method in class io.netty.util.internal.DefaultPriorityQueue
-
This iterator does not return elements in any particular order.
- iterator() - Method in class io.netty.util.internal.EmptyPriorityQueue
J
- JAVA_HASHER - Static variable in interface io.netty.util.HashingStrategy
- javaVersion() - Static method in class io.netty.util.internal.PlatformDependent
-
Return the version of Java under which this library is used.
- JdkLoggerFactory - Class in io.netty.util.internal.logging
-
Logger factory which creates a java.util.logging logger.
- JdkLoggerFactory() - Constructor for class io.netty.util.internal.logging.JdkLoggerFactory
-
Deprecated.Use
JdkLoggerFactory.INSTANCEinstead. - join(CharSequence, Iterable<? extends CharSequence>) - Static method in class io.netty.util.internal.StringUtil
-
Returns a char sequence that contains all
elementsjoined by a given separator.
K
- key() - Method in interface io.netty.util.Attribute
-
Returns the key of this attribute.
- key() - Method in interface io.netty.util.collection.ByteObjectMap.PrimitiveEntry
-
Gets the key for this entry.
- key() - Method in interface io.netty.util.collection.CharObjectMap.PrimitiveEntry
-
Gets the key for this entry.
- key() - Method in interface io.netty.util.collection.IntObjectMap.PrimitiveEntry
-
Gets the key for this entry.
- key() - Method in interface io.netty.util.collection.LongObjectMap.PrimitiveEntry
-
Gets the key for this entry.
- key() - Method in interface io.netty.util.collection.ShortObjectMap.PrimitiveEntry
-
Gets the key for this entry.
- keySet() - Method in class io.netty.util.collection.ByteObjectHashMap
- keySet() - Method in class io.netty.util.collection.CharObjectHashMap
- keySet() - Method in class io.netty.util.collection.IntObjectHashMap
- keySet() - Method in class io.netty.util.collection.LongObjectHashMap
- keySet() - Method in class io.netty.util.collection.ShortObjectHashMap
- keyToString(byte) - Method in class io.netty.util.collection.ByteObjectHashMap
-
Helper method called by
ByteObjectHashMap.toString()in order to convert a single map key into a string. - keyToString(char) - Method in class io.netty.util.collection.CharObjectHashMap
-
Helper method called by
CharObjectHashMap.toString()in order to convert a single map key into a string. - keyToString(int) - Method in class io.netty.util.collection.IntObjectHashMap
-
Helper method called by
IntObjectHashMap.toString()in order to convert a single map key into a string. - keyToString(long) - Method in class io.netty.util.collection.LongObjectHashMap
-
Helper method called by
LongObjectHashMap.toString()in order to convert a single map key into a string. - keyToString(short) - Method in class io.netty.util.collection.ShortObjectHashMap
-
Helper method called by
ShortObjectHashMap.toString()in order to convert a single map key into a string.
L
- lastIndexOf(CharSequence) - Method in class io.netty.util.AsciiString
-
Searches in this string for the last index of the specified string.
- lastIndexOf(CharSequence, int) - Method in class io.netty.util.AsciiString
-
Searches in this string for the index of the specified string.
- lastVariableIndex() - Static method in class io.netty.util.internal.InternalThreadLocalMap
- lazyExecute(Runnable) - Method in class io.netty.util.concurrent.AbstractEventExecutor
-
Like
Executor.execute(Runnable)but does not guarantee the task will be run until either a non-lazy task is executed or the executor is shut down. - lazyExecute(Runnable) - Method in class io.netty.util.concurrent.SingleThreadEventExecutor
- length() - Method in class io.netty.util.AsciiString
-
The length in bytes of this instance.
- length() - Method in class io.netty.util.internal.AppendableCharSequence
- length(String) - Static method in class io.netty.util.internal.StringUtil
-
Get the length of a string,
nullinput is considered0length. - LINE_FEED - Static variable in class io.netty.util.internal.StringUtil
- load(String, ClassLoader) - Static method in class io.netty.util.internal.NativeLibraryLoader
-
Load the given library with the specified
ClassLoader - loadFirstAvailable(ClassLoader, String...) - Static method in class io.netty.util.internal.NativeLibraryLoader
-
Loads the first available library in the collection with the specified
ClassLoader. - localChannelReaderStackDepth() - Method in class io.netty.util.internal.InternalThreadLocalMap
- LOCALHOST - Static variable in class io.netty.util.NetUtil
-
The
InetAddressthat represents the loopback address. - LOCALHOST4 - Static variable in class io.netty.util.NetUtil
-
The
Inet4Addressthat represents the IPv4 loopback address '127.0.0.1' - LOCALHOST6 - Static variable in class io.netty.util.NetUtil
-
The
Inet6Addressthat represents the IPv6 loopback address '::1' - localSocketAddress(ServerSocket) - Static method in class io.netty.util.internal.SocketUtils
- log(InternalLogLevel, String) - Method in class io.netty.util.internal.logging.AbstractInternalLogger
- log(InternalLogLevel, String) - Method in interface io.netty.util.internal.logging.InternalLogger
-
Log a message at the specified
level. - log(InternalLogLevel, String, Object) - Method in class io.netty.util.internal.logging.AbstractInternalLogger
- log(InternalLogLevel, String, Object) - Method in interface io.netty.util.internal.logging.InternalLogger
-
Log a message at the specified
levelaccording to the specified format and argument. - log(InternalLogLevel, String, Object...) - Method in class io.netty.util.internal.logging.AbstractInternalLogger
- log(InternalLogLevel, String, Object...) - Method in interface io.netty.util.internal.logging.InternalLogger
-
Log a message at the specified
levelaccording to the specified format and arguments. - log(InternalLogLevel, String, Object, Object) - Method in class io.netty.util.internal.logging.AbstractInternalLogger
- log(InternalLogLevel, String, Object, Object) - Method in interface io.netty.util.internal.logging.InternalLogger
-
Log a message at the specified
levelaccording to the specified format and arguments. - log(InternalLogLevel, String, Throwable) - Method in class io.netty.util.internal.logging.AbstractInternalLogger
- log(InternalLogLevel, String, Throwable) - Method in interface io.netty.util.internal.logging.InternalLogger
-
Log an exception (throwable) at the specified
levelwith an accompanying message. - log(InternalLogLevel, Throwable) - Method in class io.netty.util.internal.logging.AbstractInternalLogger
- log(InternalLogLevel, Throwable) - Method in interface io.netty.util.internal.logging.InternalLogger
-
Log an exception (throwable) at the specified
level. - Log4J2LoggerFactory - Class in io.netty.util.internal.logging
- Log4J2LoggerFactory() - Constructor for class io.netty.util.internal.logging.Log4J2LoggerFactory
-
Deprecated.Use
Log4J2LoggerFactory.INSTANCEinstead. - Log4JLoggerFactory - Class in io.netty.util.internal.logging
-
Logger factory which creates an Apache Log4J logger.
- Log4JLoggerFactory() - Constructor for class io.netty.util.internal.logging.Log4JLoggerFactory
-
Deprecated.Use
Log4JLoggerFactory.INSTANCEinstead. - LongCollections - Class in io.netty.util.collection
-
Utilities for long-based primitive collections.
- longCommitHash() - Method in class io.netty.util.Version
- LongCounter - Interface in io.netty.util.internal
-
Counter for long.
- LongObjectHashMap<V> - Class in io.netty.util.collection
-
A hash map implementation of
LongObjectMapthat uses open addressing for keys. - LongObjectHashMap() - Constructor for class io.netty.util.collection.LongObjectHashMap
- LongObjectHashMap(int) - Constructor for class io.netty.util.collection.LongObjectHashMap
- LongObjectHashMap(int, float) - Constructor for class io.netty.util.collection.LongObjectHashMap
- LongObjectMap<V> - Interface in io.netty.util.collection
-
Interface for a primitive map that uses
longs as keys. - LongObjectMap.PrimitiveEntry<V> - Interface in io.netty.util.collection
-
A primitive entry in the map, provided by the iterator from
LongObjectMap.entries() - longValue(Long, long) - Static method in class io.netty.util.internal.ObjectUtil
-
Resolves a possibly null Long to a primitive long, using a default value.
- LOOPBACK_IF - Static variable in class io.netty.util.NetUtil
-
The loopback
NetworkInterfaceof the current machine - loopbackAddress() - Static method in class io.netty.util.internal.SocketUtils
M
- MacAddressUtil - Class in io.netty.util.internal
- main(String[]) - Static method in class io.netty.util.Version
-
Prints the version information to
System.err. - map(IN) - Method in interface io.netty.util.Mapping
-
Returns mapped value of the specified input.
- map(IN, Promise<OUT>) - Method in interface io.netty.util.AsyncMapping
-
Returns the
Futurethat will provide the result of the mapping. - map(String) - Method in class io.netty.util.DomainNameMapping
-
Deprecated.
- Mapping<IN,OUT> - Interface in io.netty.util
-
Maintains the mapping from the objects of one type to the objects of the other type.
- match(Object) - Method in class io.netty.util.internal.NoOpTypeParameterMatcher
- match(Object) - Method in class io.netty.util.internal.TypeParameterMatcher
- matches(String) - Method in class io.netty.util.AsciiString
-
Determines whether this string matches a given regular expression.
- MathUtil - Class in io.netty.util.internal
-
Math utility methods.
- maxDirectMemory() - Static method in class io.netty.util.internal.PlatformDependent
-
Returns the maximum memory reserved for direct buffer allocation.
- maybeSuperUser() - Static method in class io.netty.util.internal.PlatformDependent
-
Return
trueif the current user may be a super-user. - MessageFormatter - Class in io.netty.util.internal.logging
-
Formats messages according to very simple substitution rules.
- msg() - Method in class io.netty.util.internal.PendingWrite
- MultithreadEventExecutorGroup - Class in io.netty.util.concurrent
-
Abstract base class for
EventExecutorGroupimplementations that handles their tasks with multiple threads at the same time. - MultithreadEventExecutorGroup(int, Executor, EventExecutorChooserFactory, Object...) - Constructor for class io.netty.util.concurrent.MultithreadEventExecutorGroup
-
Create a new instance.
- MultithreadEventExecutorGroup(int, Executor, Object...) - Constructor for class io.netty.util.concurrent.MultithreadEventExecutorGroup
-
Create a new instance.
- MultithreadEventExecutorGroup(int, ThreadFactory, Object...) - Constructor for class io.netty.util.concurrent.MultithreadEventExecutorGroup
-
Create a new instance.
N
- name() - Method in class io.netty.util.AbstractConstant
- name() - Method in interface io.netty.util.concurrent.ThreadProperties
- name() - Method in interface io.netty.util.Constant
-
Returns the name of this
Constant. - name() - Method in class io.netty.util.internal.logging.AbstractInternalLogger
- name() - Method in interface io.netty.util.internal.logging.InternalLogger
-
Return the name of this
InternalLoggerinstance. - name() - Method in error io.netty.util.Signal
- nanoTime() - Static method in class io.netty.util.concurrent.AbstractScheduledEventExecutor
-
Deprecated.Use the non-static
AbstractScheduledEventExecutor.getCurrentTimeNanos()instead. - NativeLibraryLoader - Class in io.netty.util.internal
-
Helper class to load JNI resources.
- needReport() - Method in class io.netty.util.ResourceLeakDetector
-
When the return value is
true,ResourceLeakDetector.reportTracedLeak(java.lang.String, java.lang.String)andResourceLeakDetector.reportUntracedLeak(java.lang.String)will be called once a leak is detected, otherwise not. - NettyRuntime - Class in io.netty.util
-
A utility class for wrapping calls to
Runtime. - NetUtil - Class in io.netty.util
-
A class that holds a number of network-related constants.
- NETWORK_INTERFACES - Static variable in class io.netty.util.NetUtil
-
An unmodifiable Collection of all the interfaces on this machine.
- newChild(Executor, Object...) - Method in class io.netty.util.concurrent.DefaultEventExecutorGroup
- newChild(Executor, Object...) - Method in class io.netty.util.concurrent.MultithreadEventExecutorGroup
-
Create a new EventExecutor which will later then accessible via the
MultithreadEventExecutorGroup.next()method. - newChooser(EventExecutor[]) - Method in class io.netty.util.concurrent.DefaultEventExecutorChooserFactory
- newChooser(EventExecutor[]) - Method in interface io.netty.util.concurrent.EventExecutorChooserFactory
-
Returns a new
EventExecutorChooserFactory.EventExecutorChooser. - newConcurrentDeque() - Static method in class io.netty.util.internal.PlatformDependent
-
Returns a new concurrent
Deque. - newConcurrentHashMap() - Static method in class io.netty.util.internal.PlatformDependent
-
Creates a new fastest
ConcurrentMapimplementation for the current platform. - newConcurrentHashMap(int) - Static method in class io.netty.util.internal.PlatformDependent
-
Creates a new fastest
ConcurrentMapimplementation for the current platform. - newConcurrentHashMap(int, float) - Static method in class io.netty.util.internal.PlatformDependent
-
Creates a new fastest
ConcurrentMapimplementation for the current platform. - newConcurrentHashMap(int, float, int) - Static method in class io.netty.util.internal.PlatformDependent
-
Creates a new fastest
ConcurrentMapimplementation for the current platform. - newConcurrentHashMap(Map<? extends K, ? extends V>) - Static method in class io.netty.util.internal.PlatformDependent
-
Creates a new fastest
ConcurrentMapimplementation for the current platform. - newConstant(int, String) - Method in class io.netty.util.ConstantPool
- newDefaultThreadFactory() - Method in class io.netty.util.concurrent.MultithreadEventExecutorGroup
- newFailedFuture(Throwable) - Method in interface io.netty.util.concurrent.EventExecutor
-
Create a new
Futurewhich is marked as failed already. - newFailedFuture(Throwable) - Method in class io.netty.util.concurrent.UnorderedThreadPoolEventExecutor
- newFixedMpmcQueue(int) - Static method in class io.netty.util.internal.PlatformDependent
-
Create a new
Queuewhich is safe to use for multiple producers (different threads) and multiple consumers with the given fixescapacity. - newFixedMpscQueue(int) - Static method in class io.netty.util.internal.PlatformDependent
-
Create a new
Queuewhich is safe to use for multiple producers (different threads) and a single consumer (one thread!) - newInstance() - Static method in class io.netty.util.internal.RecyclableArrayList
-
Create a new empty
RecyclableArrayListinstance - newInstance(int) - Static method in class io.netty.util.internal.RecyclableArrayList
-
Create a new empty
RecyclableArrayListinstance with the given capacity. - newInstance(Object, Promise<Void>) - Static method in class io.netty.util.internal.PendingWrite
-
Create a new empty
RecyclableArrayListinstance - newInstance(String) - Static method in class io.netty.util.AttributeKey
-
Creates a new
AttributeKeyfor the givennameor fail with anIllegalArgumentExceptionif aAttributeKeyfor the givennameexists. - newInstance(String) - Method in class io.netty.util.ConstantPool
-
Creates a new
Constantfor the givennameor fail with anIllegalArgumentExceptionif aConstantfor the givennameexists. - newInstance(String) - Method in class io.netty.util.internal.logging.CommonsLoggerFactory
-
Deprecated.
- newInstance(String) - Method in class io.netty.util.internal.logging.InternalLoggerFactory
-
Creates a new logger instance with the specified name.
- newInstance(String) - Method in class io.netty.util.internal.logging.JdkLoggerFactory
- newInstance(String) - Method in class io.netty.util.internal.logging.Log4J2LoggerFactory
- newInstance(String) - Method in class io.netty.util.internal.logging.Log4JLoggerFactory
- newInstance(String) - Method in class io.netty.util.internal.logging.Slf4JLoggerFactory
- NEWLINE - Static variable in class io.netty.util.internal.StringUtil
- newLongCounter() - Static method in class io.netty.util.internal.PlatformDependent
-
Creates a new fastest
LongCounterimplementation for the current platform. - newMpscQueue() - Static method in class io.netty.util.internal.PlatformDependent
-
Create a new
Queuewhich is safe to use for multiple producers (different threads) and a single consumer (one thread!). - newMpscQueue(int) - Static method in class io.netty.util.internal.PlatformDependent
-
Create a new
Queuewhich is safe to use for multiple producers (different threads) and a single consumer (one thread!). - newMpscQueue(int, int) - Static method in class io.netty.util.internal.PlatformDependent
-
Create a new
Queuewhich is safe to use for multiple producers (different threads) and a single consumer (one thread!). - newObject(ObjectPool.Handle<T>) - Method in interface io.netty.util.internal.ObjectPool.ObjectCreator
-
Creates an returns a new
Objectthat can be used and later recycled viaObjectPool.Handle.recycle(Object). - newObject(Recycler.Handle<T>) - Method in class io.netty.util.Recycler
- newPool(ObjectPool.ObjectCreator<T>) - Static method in class io.netty.util.internal.ObjectPool
-
Creates a new
ObjectPoolwhich will use the givenObjectPool.ObjectCreatorto create theObjectthat should be pooled. - newProgressivePromise() - Method in interface io.netty.util.concurrent.EventExecutor
-
Create a new
ProgressivePromise. - newProgressivePromise() - Method in class io.netty.util.concurrent.ImmediateEventExecutor
- newProgressivePromise() - Method in class io.netty.util.concurrent.UnorderedThreadPoolEventExecutor
- newPromise() - Method in interface io.netty.util.concurrent.EventExecutor
-
Return a new
Promise. - newPromise() - Method in class io.netty.util.concurrent.ImmediateEventExecutor
- newPromise() - Method in class io.netty.util.concurrent.UnorderedThreadPoolEventExecutor
- newResourceLeakDetector(Class<T>) - Method in class io.netty.util.ResourceLeakDetectorFactory
-
Returns a new instance of a
ResourceLeakDetectorwith the given resource class. - newResourceLeakDetector(Class<T>, int) - Method in class io.netty.util.ResourceLeakDetectorFactory
-
Returns a new instance of a
ResourceLeakDetectorwith the given resource class. - newResourceLeakDetector(Class<T>, int, long) - Method in class io.netty.util.ResourceLeakDetectorFactory
-
Deprecated.Use
ResourceLeakDetectorFactory.newResourceLeakDetector(Class, int)instead.Returns a new instance of a
ResourceLeakDetectorwith the given resource class. - newSpscQueue() - Static method in class io.netty.util.internal.PlatformDependent
-
Create a new
Queuewhich is safe to use for single producer (one thread!) - newSucceededFuture(V) - Method in interface io.netty.util.concurrent.EventExecutor
-
Create a new
Futurewhich is marked as succeeded already. - newSucceededFuture(V) - Method in class io.netty.util.concurrent.UnorderedThreadPoolEventExecutor
- newTaskFor(Runnable, T) - Method in class io.netty.util.concurrent.AbstractEventExecutor
- newTaskFor(Callable<T>) - Method in class io.netty.util.concurrent.AbstractEventExecutor
- newTaskQueue() - Method in class io.netty.util.concurrent.SingleThreadEventExecutor
-
Deprecated.Please use and override
SingleThreadEventExecutor.newTaskQueue(int). - newTaskQueue(int) - Method in class io.netty.util.concurrent.SingleThreadEventExecutor
-
Create a new
Queuewhich will holds the tasks to execute. - newThread(Runnable) - Method in class io.netty.util.concurrent.DefaultThreadFactory
- newThread(Runnable, String) - Method in class io.netty.util.concurrent.DefaultThreadFactory
- newTimeout(TimerTask, long, TimeUnit) - Method in class io.netty.util.HashedWheelTimer
- newTimeout(TimerTask, long, TimeUnit) - Method in interface io.netty.util.Timer
-
Schedules the specified
TimerTaskfor one-time execution after the specified delay. - next() - Method in class io.netty.util.concurrent.AbstractEventExecutor
- next() - Method in interface io.netty.util.concurrent.EventExecutorChooserFactory.EventExecutorChooser
-
Returns the new
EventExecutorto use. - next() - Method in interface io.netty.util.concurrent.EventExecutorGroup
-
Returns one of the
EventExecutors managed by thisEventExecutorGroup. - next() - Method in class io.netty.util.concurrent.MultithreadEventExecutorGroup
- next() - Method in class io.netty.util.concurrent.NonStickyEventExecutorGroup
- next() - Method in class io.netty.util.concurrent.UnorderedThreadPoolEventExecutor
- next() - Method in class io.netty.util.internal.ReadOnlyIterator
- next(int) - Method in class io.netty.util.internal.ThreadLocalRandom
-
Deprecated.
- nextDouble(double) - Method in class io.netty.util.internal.ThreadLocalRandom
-
Deprecated.Returns a pseudorandom, uniformly distributed
doublevalue between 0 (inclusive) and the specified value (exclusive). - nextDouble(double, double) - Method in class io.netty.util.internal.ThreadLocalRandom
-
Deprecated.Returns a pseudorandom, uniformly distributed value between the given least value (inclusive) and bound (exclusive).
- nextId() - Method in class io.netty.util.ConstantPool
-
Deprecated.
- nextInt(int, int) - Method in class io.netty.util.internal.ThreadLocalRandom
-
Deprecated.Returns a pseudorandom, uniformly distributed value between the given least value (inclusive) and bound (exclusive).
- nextLong(long) - Method in class io.netty.util.internal.ThreadLocalRandom
-
Deprecated.Returns a pseudorandom, uniformly distributed value between 0 (inclusive) and the specified value (exclusive).
- nextLong(long, long) - Method in class io.netty.util.internal.ThreadLocalRandom
-
Deprecated.Returns a pseudorandom, uniformly distributed value between the given least value (inclusive) and bound (exclusive).
- nextScheduledTaskDeadlineNanos() - Method in class io.netty.util.concurrent.AbstractScheduledEventExecutor
-
Return the deadline (in nanoseconds) when the next scheduled task is ready to be run or
-1if no task is scheduled. - nextScheduledTaskNano() - Method in class io.netty.util.concurrent.AbstractScheduledEventExecutor
-
Return the nanoseconds until the next scheduled task is ready to be run or
-1if no task is scheduled. - nextVariableIndex() - Static method in class io.netty.util.internal.InternalThreadLocalMap
- NonStickyEventExecutorGroup - Class in io.netty.util.concurrent
-
EventExecutorGroupwhich will preserveRunnableexecution order but makes no guarantees about whatEventExecutor(and thereforeThread) will be used to execute theRunnables. - NonStickyEventExecutorGroup(EventExecutorGroup) - Constructor for class io.netty.util.concurrent.NonStickyEventExecutorGroup
-
Creates a new instance.
- NonStickyEventExecutorGroup(EventExecutorGroup, int) - Constructor for class io.netty.util.concurrent.NonStickyEventExecutorGroup
-
Creates a new instance.
- NoOpTypeParameterMatcher - Class in io.netty.util.internal
- NoOpTypeParameterMatcher() - Constructor for class io.netty.util.internal.NoOpTypeParameterMatcher
- normalizedArch() - Static method in class io.netty.util.internal.PlatformDependent
- normalizedLinuxClassifiers() - Static method in class io.netty.util.internal.PlatformDependent
- normalizedOs() - Static method in class io.netty.util.internal.PlatformDependent
- notifyListener(EventExecutor, Future<?>, GenericFutureListener<?>) - Static method in class io.netty.util.concurrent.DefaultPromise
-
Notify a listener that a future has completed.
O
- ObjectCleaner - Class in io.netty.util.internal
- objectFieldOffset(Field) - Static method in class io.netty.util.internal.PlatformDependent
- ObjectPool<T> - Class in io.netty.util.internal
-
Light-weight object pool.
- ObjectPool.Handle<T> - Interface in io.netty.util.internal
-
Handle for an pooled
Objectthat will be used to notify theObjectPoolonce it can reuse the pooledObjectagain. - ObjectPool.ObjectCreator<T> - Interface in io.netty.util.internal
-
Creates a new Object which references the given
ObjectPool.Handleand callsObjectPool.Handle.recycle(Object)once it can be re-used. - ObjectUtil - Class in io.netty.util.internal
-
A grab-bag of useful utility methods.
- of(CharSequence) - Static method in class io.netty.util.AsciiString
-
Returns an
AsciiStringcontaining the given character sequence. - offer(T) - Method in class io.netty.util.internal.DefaultPriorityQueue
- offer(T) - Method in class io.netty.util.internal.EmptyPriorityQueue
- onLeak(String, String) - Method in interface io.netty.util.ResourceLeakDetector.LeakListener
-
Will be called once a leak is detected.
- onRemoval(V) - Method in class io.netty.util.concurrent.FastThreadLocal
-
Invoked when this thread local variable is removed by
FastThreadLocal.remove(). - open(T) - Method in class io.netty.util.ResourceLeakDetector
-
Deprecated.
- operationComplete(F) - Method in interface io.netty.util.concurrent.GenericFutureListener
-
Invoked when the operation associated with the
Futurehas been completed. - operationComplete(F) - Method in class io.netty.util.concurrent.PromiseAggregator
-
Deprecated.
- operationComplete(F) - Method in class io.netty.util.concurrent.PromiseNotifier
- operationComplete(Future<T>) - Method in class io.netty.util.concurrent.UnaryPromiseNotifier
-
Deprecated.
- operationProgressed(F, long, long) - Method in interface io.netty.util.concurrent.GenericProgressiveFutureListener
-
Invoked when the operation has progressed.
- OrderedEventExecutor - Interface in io.netty.util.concurrent
-
Marker interface for
EventExecutors that will process all submitted tasks in an ordered / serial fashion. - OutOfDirectMemoryError - Error in io.netty.util.internal
-
OutOfMemoryErrorthat is throws ifPlatformDependent.allocateDirectNoCleaner(int)can not allocate a newByteBufferdue memory restrictions.
P
- PARANOID - io.netty.util.ResourceLeakDetector.Level
-
Enables paranoid resource leak detection which reports where the leaked object was accessed recently, at the cost of the highest possible overhead (for testing purposes only).
- parent() - Method in class io.netty.util.concurrent.AbstractEventExecutor
- parent() - Method in interface io.netty.util.concurrent.EventExecutor
-
Return the
EventExecutorGroupwhich is the parent of thisEventExecutor, - parent() - Method in class io.netty.util.concurrent.UnorderedThreadPoolEventExecutor
- parseBoolean() - Method in class io.netty.util.AsciiString
- parseChar() - Method in class io.netty.util.AsciiString
- parseChar(int) - Method in class io.netty.util.AsciiString
- parseDouble() - Method in class io.netty.util.AsciiString
- parseDouble(int, int) - Method in class io.netty.util.AsciiString
- parseFloat() - Method in class io.netty.util.AsciiString
- parseFloat(int, int) - Method in class io.netty.util.AsciiString
- parseInt() - Method in class io.netty.util.AsciiString
- parseInt(int) - Method in class io.netty.util.AsciiString
- parseInt(int, int) - Method in class io.netty.util.AsciiString
- parseInt(int, int, int) - Method in class io.netty.util.AsciiString
- parseLong() - Method in class io.netty.util.AsciiString
- parseLong(int) - Method in class io.netty.util.AsciiString
- parseLong(int, int) - Method in class io.netty.util.AsciiString
- parseLong(int, int, int) - Method in class io.netty.util.AsciiString
- parseMAC(String) - Static method in class io.netty.util.internal.MacAddressUtil
-
Parse a EUI-48, MAC-48, or EUI-64 MAC address from a
Stringand return it as abyte[]. - parseShort() - Method in class io.netty.util.AsciiString
- parseShort(int) - Method in class io.netty.util.AsciiString
- parseShort(int, int) - Method in class io.netty.util.AsciiString
- parseShort(int, int, int) - Method in class io.netty.util.AsciiString
- peek() - Method in class io.netty.util.internal.DefaultPriorityQueue
- peek() - Method in class io.netty.util.internal.EmptyPriorityQueue
- peekTask() - Method in class io.netty.util.concurrent.SingleThreadEventExecutor
- pendingTasks() - Method in class io.netty.util.concurrent.GlobalEventExecutor
-
Return the number of tasks that are pending for processing.
- pendingTasks() - Method in class io.netty.util.concurrent.SingleThreadEventExecutor
-
Return the number of tasks that are pending for processing.
- pendingTimeouts() - Method in class io.netty.util.HashedWheelTimer
-
Returns the number of pending timeouts of this
Timer. - PendingWrite - Class in io.netty.util.internal
-
Some pending write which should be picked up later.
- permitBlockingCalls() - Method in class io.netty.util.concurrent.FastThreadLocalThread
-
Query whether this thread is allowed to perform blocking calls or not.
- PlatformDependent - Class in io.netty.util.internal
-
Utility that detects various properties specific to the current runtime environment, such as Java version and the availability of the
sun.misc.Unsafeobject. - poll() - Method in class io.netty.util.internal.DefaultPriorityQueue
- poll() - Method in class io.netty.util.internal.EmptyPriorityQueue
- pollScheduledTask() - Method in class io.netty.util.concurrent.AbstractScheduledEventExecutor
- pollScheduledTask(long) - Method in class io.netty.util.concurrent.AbstractScheduledEventExecutor
-
Return the
Runnablewhich is ready to be executed with the givennanoTime. - pollTask() - Method in class io.netty.util.concurrent.SingleThreadEventExecutor
- pollTaskFrom(Queue<Runnable>) - Static method in class io.netty.util.concurrent.SingleThreadEventExecutor
- priority() - Method in interface io.netty.util.concurrent.ThreadProperties
- priorityChanged(T) - Method in class io.netty.util.internal.DefaultPriorityQueue
- priorityChanged(T) - Method in class io.netty.util.internal.EmptyPriorityQueue
- priorityChanged(T) - Method in interface io.netty.util.internal.PriorityQueue
-
Notify the queue that the priority for
nodehas changed. - PriorityQueue<T> - Interface in io.netty.util.internal
- priorityQueueIndex(DefaultPriorityQueue<?>) - Method in interface io.netty.util.internal.PriorityQueueNode
-
Get the last value set by
PriorityQueueNode.priorityQueueIndex(DefaultPriorityQueue, int)for the value corresponding toqueue. - priorityQueueIndex(DefaultPriorityQueue<?>, int) - Method in interface io.netty.util.internal.PriorityQueueNode
-
Used by
DefaultPriorityQueueto maintain state for an element in the queue. - PriorityQueueNode - Interface in io.netty.util.internal
-
Provides methods for
DefaultPriorityQueueto maintain internal state. - process(byte) - Method in class io.netty.util.ByteProcessor.IndexNotOfProcessor
- process(byte) - Method in class io.netty.util.ByteProcessor.IndexOfProcessor
- process(byte) - Method in interface io.netty.util.ByteProcessor
- ProgressiveFuture<V> - Interface in io.netty.util.concurrent
-
A
Futurewhich is used to indicate the progress of an operation. - ProgressivePromise<V> - Interface in io.netty.util.concurrent
-
Special
ProgressiveFuturewhich is writable. - promise() - Method in class io.netty.util.internal.PendingWrite
- Promise<V> - Interface in io.netty.util.concurrent
-
Special
Futurewhich is writable. - PromiseAggregator<V,F extends Future<V>> - Class in io.netty.util.concurrent
-
Deprecated.Use
PromiseCombiner(EventExecutor).GenericFutureListenerimplementation which consolidates multipleFutures into one, by listening to individualFutures and producing an aggregated result (success/failure) when allFutures have completed. - PromiseAggregator(Promise<Void>) - Constructor for class io.netty.util.concurrent.PromiseAggregator
-
Deprecated.
- PromiseAggregator(Promise<Void>, boolean) - Constructor for class io.netty.util.concurrent.PromiseAggregator
-
Deprecated.Creates a new instance.
- PromiseCombiner - Class in io.netty.util.concurrent
-
A promise combiner monitors the outcome of a number of discrete futures, then notifies a final, aggregate promise when all of the combined futures are finished.
- PromiseCombiner() - Constructor for class io.netty.util.concurrent.PromiseCombiner
-
Deprecated.
- PromiseCombiner(EventExecutor) - Constructor for class io.netty.util.concurrent.PromiseCombiner
-
The
EventExecutorto use for notifications. - PromiseNotificationUtil - Class in io.netty.util.internal
-
Internal utilities to notify
Promises. - PromiseNotifier<V,F extends Future<V>> - Class in io.netty.util.concurrent
-
GenericFutureListenerimplementation which takes otherPromises and notifies them on completion. - PromiseNotifier(boolean, Promise<? super V>...) - Constructor for class io.netty.util.concurrent.PromiseNotifier
-
Create a new instance.
- PromiseNotifier(Promise<? super V>...) - Constructor for class io.netty.util.concurrent.PromiseNotifier
-
Create a new instance.
- put(byte, V) - Method in class io.netty.util.collection.ByteObjectHashMap
- put(byte, V) - Method in interface io.netty.util.collection.ByteObjectMap
-
Puts the given entry into the map.
- put(char, V) - Method in class io.netty.util.collection.CharObjectHashMap
- put(char, V) - Method in interface io.netty.util.collection.CharObjectMap
-
Puts the given entry into the map.
- put(int, V) - Method in class io.netty.util.collection.IntObjectHashMap
- put(int, V) - Method in interface io.netty.util.collection.IntObjectMap
-
Puts the given entry into the map.
- put(long, V) - Method in class io.netty.util.collection.LongObjectHashMap
- put(long, V) - Method in interface io.netty.util.collection.LongObjectMap
-
Puts the given entry into the map.
- put(short, V) - Method in class io.netty.util.collection.ShortObjectHashMap
- put(short, V) - Method in interface io.netty.util.collection.ShortObjectMap
-
Puts the given entry into the map.
- put(Byte, V) - Method in class io.netty.util.collection.ByteObjectHashMap
- put(Character, V) - Method in class io.netty.util.collection.CharObjectHashMap
- put(Integer, V) - Method in class io.netty.util.collection.IntObjectHashMap
- put(Long, V) - Method in class io.netty.util.collection.LongObjectHashMap
- put(Short, V) - Method in class io.netty.util.collection.ShortObjectHashMap
- putAll(Map<? extends Byte, ? extends V>) - Method in class io.netty.util.collection.ByteObjectHashMap
- putAll(Map<? extends Character, ? extends V>) - Method in class io.netty.util.collection.CharObjectHashMap
- putAll(Map<? extends Integer, ? extends V>) - Method in class io.netty.util.collection.IntObjectHashMap
- putAll(Map<? extends Long, ? extends V>) - Method in class io.netty.util.collection.LongObjectHashMap
- putAll(Map<? extends Short, ? extends V>) - Method in class io.netty.util.collection.ShortObjectHashMap
- putByte(byte[], int, byte) - Static method in class io.netty.util.internal.PlatformDependent
- putByte(long, byte) - Static method in class io.netty.util.internal.PlatformDependent
- putByte(Object, long, byte) - Static method in class io.netty.util.internal.PlatformDependent
- putInt(byte[], int, int) - Static method in class io.netty.util.internal.PlatformDependent
- putInt(long, int) - Static method in class io.netty.util.internal.PlatformDependent
- putIntOrdered(long, int) - Static method in class io.netty.util.internal.PlatformDependent
- putLong(byte[], int, long) - Static method in class io.netty.util.internal.PlatformDependent
- putLong(long, long) - Static method in class io.netty.util.internal.PlatformDependent
- putObject(Object, long, Object) - Static method in class io.netty.util.internal.PlatformDependent
- putShort(byte[], int, short) - Static method in class io.netty.util.internal.PlatformDependent
- putShort(long, short) - Static method in class io.netty.util.internal.PlatformDependent
R
- random() - Method in class io.netty.util.internal.InternalThreadLocalMap
- ReadOnlyIterator<T> - Class in io.netty.util.internal
- ReadOnlyIterator(Iterator<? extends T>) - Constructor for class io.netty.util.internal.ReadOnlyIterator
- readResolve() - Method in class io.netty.util.internal.logging.AbstractInternalLogger
- reallocateDirectNoCleaner(ByteBuffer, int) - Static method in class io.netty.util.internal.PlatformDependent
-
Reallocate a new
ByteBufferwith the givencapacity. - reallocateMemory(long, long) - Static method in class io.netty.util.internal.PlatformDependent
- reason() - Method in annotation type io.netty.util.internal.SuppressJava6Requirement
-
Deprecated.
- reason() - Method in annotation type io.netty.util.internal.SuppressJava8Requirement
- reason() - Method in annotation type io.netty.util.SuppressForbidden
- record() - Method in interface io.netty.util.ResourceLeak
-
Deprecated.Records the caller's current stack trace so that the
ResourceLeakDetectorcan tell where the leaked resource was accessed lastly. - record() - Method in interface io.netty.util.ResourceLeakTracker
-
Records the caller's current stack trace so that the
ResourceLeakDetectorcan tell where the leaked resource was accessed lastly. - record(Object) - Method in interface io.netty.util.ResourceLeak
-
Deprecated.Records the caller's current stack trace and the specified additional arbitrary information so that the
ResourceLeakDetectorcan tell where the leaked resource was accessed lastly. - record(Object) - Method in interface io.netty.util.ResourceLeakTracker
-
Records the caller's current stack trace and the specified additional arbitrary information so that the
ResourceLeakDetectorcan tell where the leaked resource was accessed lastly. - RecyclableArrayList - Class in io.netty.util.internal
-
A simple list which is recyclable.
- recycle() - Method in class io.netty.util.internal.PendingWrite
-
Clear and recycle this instance.
- recycle() - Method in class io.netty.util.internal.RecyclableArrayList
-
Clear and recycle this instance.
- recycle(T) - Method in interface io.netty.util.internal.ObjectPool.Handle
-
Recycle the
Objectif possible and so make it ready to be reused. - recycle(T, Recycler.Handle<T>) - Method in class io.netty.util.Recycler
-
Deprecated.
- recycleAndGet() - Method in class io.netty.util.internal.PendingWrite
-
Recycle this instance and return the
Promise. - Recycler<T> - Class in io.netty.util
-
Light-weight object pool based on a thread-local stack.
- Recycler() - Constructor for class io.netty.util.Recycler
- Recycler(int) - Constructor for class io.netty.util.Recycler
- Recycler(int, int) - Constructor for class io.netty.util.Recycler
-
Deprecated.
- Recycler(int, int, int) - Constructor for class io.netty.util.Recycler
- Recycler(int, int, int, int) - Constructor for class io.netty.util.Recycler
-
Deprecated.
- Recycler(int, int, int, int, int) - Constructor for class io.netty.util.Recycler
-
Deprecated.
- Recycler.EnhancedHandle<T> - Class in io.netty.util
- Recycler.Handle<T> - Interface in io.netty.util
- refCnt() - Method in class io.netty.util.AbstractReferenceCounted
- refCnt() - Method in interface io.netty.util.ReferenceCounted
-
Returns the reference count of this object.
- refCnt(Object) - Static method in class io.netty.util.ReferenceCountUtil
-
Returns reference count of a
ReferenceCountedobject. - refCnt(T) - Method in class io.netty.util.internal.ReferenceCountUpdater
- ReferenceCounted - Interface in io.netty.util
-
A reference-counted object that requires explicit deallocation.
- ReferenceCountUpdater<T extends ReferenceCounted> - Class in io.netty.util.internal
-
Common logic for
ReferenceCountedimplementations - ReferenceCountUpdater() - Constructor for class io.netty.util.internal.ReferenceCountUpdater
- ReferenceCountUtil - Class in io.netty.util
-
Collection of method to handle objects that may implement
ReferenceCounted. - ReflectionUtil - Class in io.netty.util.internal
- regionMatches(boolean, int, CharSequence, int, int) - Method in class io.netty.util.AsciiString
-
Compares the specified string to this string and compares the specified range of characters to determine if they are the same.
- regionMatches(int, CharSequence, int, int) - Method in class io.netty.util.AsciiString
-
Compares the specified string to this string and compares the specified range of characters to determine if they are the same.
- regionMatches(CharSequence, boolean, int, CharSequence, int, int) - Static method in class io.netty.util.AsciiString
-
This methods make regionMatches operation correctly for any chars in strings
- regionMatchesAscii(CharSequence, boolean, int, CharSequence, int, int) - Static method in class io.netty.util.AsciiString
-
This is optimized version of regionMatches for string with ASCII chars only
- register(Object, Runnable) - Static method in class io.netty.util.internal.ObjectCleaner
- reject() - Static method in class io.netty.util.concurrent.RejectedExecutionHandlers
-
Returns a
RejectedExecutionHandlerthat will always just throw aRejectedExecutionException. - reject() - Static method in class io.netty.util.concurrent.SingleThreadEventExecutor
- reject(Runnable) - Method in class io.netty.util.concurrent.SingleThreadEventExecutor
-
Offers the task to the associated
RejectedExecutionHandler. - rejected(Runnable, SingleThreadEventExecutor) - Method in interface io.netty.util.concurrent.RejectedExecutionHandler
-
Called when someone tried to add a task to
SingleThreadEventExecutorbut this failed due capacity restrictions. - RejectedExecutionHandler - Interface in io.netty.util.concurrent
-
Similar to
RejectedExecutionHandlerbut specific toSingleThreadEventExecutor. - RejectedExecutionHandlers - Class in io.netty.util.concurrent
-
Expose helper methods which create different
RejectedExecutionHandlers. - release() - Method in class io.netty.util.AbstractReferenceCounted
- release() - Method in interface io.netty.util.ReferenceCounted
-
Decreases the reference count by
1and deallocates this object if the reference count reaches at0. - release(int) - Method in class io.netty.util.AbstractReferenceCounted
- release(int) - Method in interface io.netty.util.ReferenceCounted
-
Decreases the reference count by the specified
decrementand deallocates this object if the reference count reaches at0. - release(Object) - Static method in class io.netty.util.ReferenceCountUtil
-
Try to call
ReferenceCounted.release()if the specified message implementsReferenceCounted. - release(Object, int) - Static method in class io.netty.util.ReferenceCountUtil
-
Try to call
ReferenceCounted.release(int)if the specified message implementsReferenceCounted. - release(T) - Method in class io.netty.util.internal.ReferenceCountUpdater
- release(T, int) - Method in class io.netty.util.internal.ReferenceCountUpdater
- releaseLater(T) - Static method in class io.netty.util.ReferenceCountUtil
-
Deprecated.this may introduce a lot of memory usage so it is generally preferable to manually release objects.
- releaseLater(T, int) - Static method in class io.netty.util.ReferenceCountUtil
-
Deprecated.this may introduce a lot of memory usage so it is generally preferable to manually release objects.
- remove() - Method in interface io.netty.util.Attribute
-
Deprecated.please consider using
Attribute.set(Object)(with value ofnull). - remove() - Method in class io.netty.util.concurrent.FastThreadLocal
-
Sets the value to uninitialized for the specified thread local map.
- remove() - Method in class io.netty.util.internal.EmptyPriorityQueue
- remove() - Static method in class io.netty.util.internal.InternalThreadLocalMap
- remove() - Method in class io.netty.util.internal.ReadOnlyIterator
- remove(byte) - Method in class io.netty.util.collection.ByteObjectHashMap
- remove(byte) - Method in interface io.netty.util.collection.ByteObjectMap
-
Removes the entry with the specified key.
- remove(char) - Method in class io.netty.util.collection.CharObjectHashMap
- remove(char) - Method in interface io.netty.util.collection.CharObjectMap
-
Removes the entry with the specified key.
- remove(int) - Method in class io.netty.util.collection.IntObjectHashMap
- remove(int) - Method in interface io.netty.util.collection.IntObjectMap
-
Removes the entry with the specified key.
- remove(long) - Method in class io.netty.util.collection.LongObjectHashMap
- remove(long) - Method in interface io.netty.util.collection.LongObjectMap
-
Removes the entry with the specified key.
- remove(short) - Method in class io.netty.util.collection.ShortObjectHashMap
- remove(short) - Method in interface io.netty.util.collection.ShortObjectMap
-
Removes the entry with the specified key.
- remove(InternalThreadLocalMap) - Method in class io.netty.util.concurrent.FastThreadLocal
-
Sets the value to uninitialized for the specified thread local map.
- remove(Object) - Method in class io.netty.util.collection.ByteObjectHashMap
- remove(Object) - Method in class io.netty.util.collection.CharObjectHashMap
- remove(Object) - Method in class io.netty.util.collection.IntObjectHashMap
- remove(Object) - Method in class io.netty.util.collection.LongObjectHashMap
- remove(Object) - Method in class io.netty.util.collection.ShortObjectHashMap
- remove(Object) - Method in class io.netty.util.internal.ConcurrentSet
-
Deprecated.
- remove(Object) - Method in class io.netty.util.internal.DefaultPriorityQueue
- remove(Object) - Method in class io.netty.util.internal.EmptyPriorityQueue
- removeAll() - Static method in class io.netty.util.concurrent.FastThreadLocal
-
Removes all
FastThreadLocalvariables bound to the current thread. - removeAll(Collection<?>) - Method in class io.netty.util.internal.EmptyPriorityQueue
- removeIndexedVariable(int) - Method in class io.netty.util.internal.InternalThreadLocalMap
- removeListener(GenericFutureListener<? extends Future<? super V>>) - Method in class io.netty.util.concurrent.CompleteFuture
- removeListener(GenericFutureListener<? extends Future<? super V>>) - Method in class io.netty.util.concurrent.DefaultProgressivePromise
- removeListener(GenericFutureListener<? extends Future<? super V>>) - Method in class io.netty.util.concurrent.DefaultPromise
- removeListener(GenericFutureListener<? extends Future<? super V>>) - Method in interface io.netty.util.concurrent.Future
-
Removes the first occurrence of the specified listener from this future.
- removeListener(GenericFutureListener<? extends Future<? super V>>) - Method in interface io.netty.util.concurrent.ProgressiveFuture
- removeListener(GenericFutureListener<? extends Future<? super V>>) - Method in interface io.netty.util.concurrent.ProgressivePromise
- removeListener(GenericFutureListener<? extends Future<? super V>>) - Method in interface io.netty.util.concurrent.Promise
- removeListeners(GenericFutureListener<? extends Future<? super V>>...) - Method in class io.netty.util.concurrent.CompleteFuture
- removeListeners(GenericFutureListener<? extends Future<? super V>>...) - Method in class io.netty.util.concurrent.DefaultProgressivePromise
- removeListeners(GenericFutureListener<? extends Future<? super V>>...) - Method in class io.netty.util.concurrent.DefaultPromise
- removeListeners(GenericFutureListener<? extends Future<? super V>>...) - Method in interface io.netty.util.concurrent.Future
-
Removes the first occurrence for each of the listeners from this future.
- removeListeners(GenericFutureListener<? extends Future<? super V>>...) - Method in interface io.netty.util.concurrent.ProgressiveFuture
- removeListeners(GenericFutureListener<? extends Future<? super V>>...) - Method in interface io.netty.util.concurrent.ProgressivePromise
- removeListeners(GenericFutureListener<? extends Future<? super V>>...) - Method in interface io.netty.util.concurrent.Promise
- removeShutdownHook(Runnable) - Method in class io.netty.util.concurrent.SingleThreadEventExecutor
-
Remove a previous added
Runnableas a shutdown hook - removeTask(Runnable) - Method in class io.netty.util.concurrent.SingleThreadEventExecutor
- removeTyped(T) - Method in class io.netty.util.internal.DefaultPriorityQueue
- removeTyped(T) - Method in class io.netty.util.internal.EmptyPriorityQueue
- removeTyped(T) - Method in interface io.netty.util.internal.PriorityQueue
-
Same as
Collection.remove(Object)but typed using generics. - replace(char, char) - Method in class io.netty.util.AsciiString
-
Copies this string replacing occurrences of the specified character with another character.
- reportInstancesLeak(String) - Method in class io.netty.util.ResourceLeakDetector
-
Deprecated.This method will no longer be invoked by
ResourceLeakDetector. - reportTracedLeak(String, String) - Method in class io.netty.util.ResourceLeakDetector
-
This method is called when a traced leak is detected.
- reportUntracedLeak(String) - Method in class io.netty.util.ResourceLeakDetector
-
This method is called when an untraced leak is detected.
- repositoryStatus() - Method in class io.netty.util.Version
- reset() - Method in class io.netty.util.internal.AppendableCharSequence
-
Reset the
AppendableCharSequence. - resetRefCnt(T) - Method in class io.netty.util.internal.ReferenceCountUpdater
-
Resets the reference count to 1
- ResourceLeak - Interface in io.netty.util
-
Deprecated.please use
ResourceLeakTrackeras it may lead to false-positives. - ResourceLeakDetector<T> - Class in io.netty.util
- ResourceLeakDetector(Class<?>) - Constructor for class io.netty.util.ResourceLeakDetector
- ResourceLeakDetector(Class<?>, int) - Constructor for class io.netty.util.ResourceLeakDetector
-
This should not be used directly by users of
ResourceLeakDetector. - ResourceLeakDetector(Class<?>, int, long) - Constructor for class io.netty.util.ResourceLeakDetector
-
Deprecated.Use
ResourceLeakDetector(Class, int).This should not be used directly by users of
ResourceLeakDetector. Please useResourceLeakDetectorFactory.newResourceLeakDetector(Class)orResourceLeakDetectorFactory.newResourceLeakDetector(Class, int, long) - ResourceLeakDetector(String) - Constructor for class io.netty.util.ResourceLeakDetector
- ResourceLeakDetector(String, int, long) - Constructor for class io.netty.util.ResourceLeakDetector
- ResourceLeakDetector.LeakListener - Interface in io.netty.util
- ResourceLeakDetector.Level - Enum in io.netty.util
-
Represents the level of resource leak detection.
- ResourceLeakDetectorFactory - Class in io.netty.util
-
This static factory should be used to load
ResourceLeakDetectors as needed - ResourceLeakDetectorFactory() - Constructor for class io.netty.util.ResourceLeakDetectorFactory
- ResourceLeakException - Exception in io.netty.util
-
Deprecated.This class will be removed in the future version.
- ResourceLeakException() - Constructor for exception io.netty.util.ResourceLeakException
-
Deprecated.
- ResourceLeakException(String) - Constructor for exception io.netty.util.ResourceLeakException
-
Deprecated.
- ResourceLeakException(String, Throwable) - Constructor for exception io.netty.util.ResourceLeakException
-
Deprecated.
- ResourceLeakException(Throwable) - Constructor for exception io.netty.util.ResourceLeakException
-
Deprecated.
- ResourceLeakHint - Interface in io.netty.util
-
A hint object that provides human-readable message for easier resource leak tracking.
- ResourceLeakTracker<T> - Interface in io.netty.util
- ResourcesUtil - Class in io.netty.util.internal
-
A utility class that provides various common operations and constants related to loading resources
- retain() - Method in class io.netty.util.AbstractReferenceCounted
- retain() - Method in interface io.netty.util.ReferenceCounted
-
Increases the reference count by
1. - retain(int) - Method in class io.netty.util.AbstractReferenceCounted
- retain(int) - Method in interface io.netty.util.ReferenceCounted
-
Increases the reference count by the specified
increment. - retain(T) - Method in class io.netty.util.internal.ReferenceCountUpdater
- retain(T) - Static method in class io.netty.util.ReferenceCountUtil
-
Try to call
ReferenceCounted.retain()if the specified message implementsReferenceCounted. - retain(T, int) - Method in class io.netty.util.internal.ReferenceCountUpdater
- retain(T, int) - Static method in class io.netty.util.ReferenceCountUtil
-
Try to call
ReferenceCounted.retain(int)if the specified message implementsReferenceCounted. - retainAll(Collection<?>) - Method in class io.netty.util.internal.EmptyPriorityQueue
- rp1 - Variable in class io.netty.util.internal.InternalThreadLocalMap
-
Deprecated.These padding fields will be removed in the future.
- rp2 - Variable in class io.netty.util.internal.InternalThreadLocalMap
-
Deprecated.These padding fields will be removed in the future.
- rp3 - Variable in class io.netty.util.internal.InternalThreadLocalMap
-
Deprecated.These padding fields will be removed in the future.
- rp4 - Variable in class io.netty.util.internal.InternalThreadLocalMap
-
Deprecated.These padding fields will be removed in the future.
- rp5 - Variable in class io.netty.util.internal.InternalThreadLocalMap
-
Deprecated.These padding fields will be removed in the future.
- rp6 - Variable in class io.netty.util.internal.InternalThreadLocalMap
-
Deprecated.These padding fields will be removed in the future.
- rp7 - Variable in class io.netty.util.internal.InternalThreadLocalMap
-
Deprecated.These padding fields will be removed in the future.
- rp8 - Variable in class io.netty.util.internal.InternalThreadLocalMap
-
Deprecated.These padding fields will be removed in the future.
- run() - Method in class io.netty.util.concurrent.DefaultEventExecutor
- run() - Method in class io.netty.util.concurrent.SingleThreadEventExecutor
-
Run the tasks in the
SingleThreadEventExecutor.taskQueue - run(Timeout) - Method in interface io.netty.util.TimerTask
-
Executed after the delay specified with
Timer.newTimeout(TimerTask, long, TimeUnit). - runAllTasks() - Method in class io.netty.util.concurrent.SingleThreadEventExecutor
-
Poll all tasks from the task queue and run them via
Runnable.run()method. - runAllTasks(long) - Method in class io.netty.util.concurrent.SingleThreadEventExecutor
-
Poll all tasks from the task queue and run them via
Runnable.run()method. - runAllTasksFrom(Queue<Runnable>) - Method in class io.netty.util.concurrent.SingleThreadEventExecutor
-
Runs all tasks from the passed
taskQueue. - runScheduledAndExecutorTasks(int) - Method in class io.netty.util.concurrent.SingleThreadEventExecutor
-
Execute all expired scheduled tasks and all current tasks in the executor queue until both queues are empty, or
maxDrainAttemptshas been exceeded. - runTask(Runnable) - Static method in class io.netty.util.concurrent.AbstractEventExecutor
S
- safeExecute(Runnable) - Static method in class io.netty.util.concurrent.AbstractEventExecutor
- safeFindNextPositivePowerOfTwo(int) - Static method in class io.netty.util.internal.MathUtil
-
Fast method of finding the next power of 2 greater than or equal to the supplied value.
- safeRelease(Object) - Static method in class io.netty.util.ReferenceCountUtil
-
Try to call
ReferenceCounted.release()if the specified message implementsReferenceCounted. - safeRelease(Object, int) - Static method in class io.netty.util.ReferenceCountUtil
-
Try to call
ReferenceCounted.release(int)if the specified message implementsReferenceCounted. - schedule(Runnable, long, TimeUnit) - Method in class io.netty.util.concurrent.AbstractEventExecutor
- schedule(Runnable, long, TimeUnit) - Method in class io.netty.util.concurrent.AbstractEventExecutorGroup
- schedule(Runnable, long, TimeUnit) - Method in class io.netty.util.concurrent.AbstractScheduledEventExecutor
- schedule(Runnable, long, TimeUnit) - Method in interface io.netty.util.concurrent.EventExecutorGroup
- schedule(Runnable, long, TimeUnit) - Method in class io.netty.util.concurrent.NonStickyEventExecutorGroup
- schedule(Runnable, long, TimeUnit) - Method in class io.netty.util.concurrent.UnorderedThreadPoolEventExecutor
- schedule(Callable<V>, long, TimeUnit) - Method in class io.netty.util.concurrent.AbstractEventExecutor
- schedule(Callable<V>, long, TimeUnit) - Method in class io.netty.util.concurrent.AbstractEventExecutorGroup
- schedule(Callable<V>, long, TimeUnit) - Method in class io.netty.util.concurrent.AbstractScheduledEventExecutor
- schedule(Callable<V>, long, TimeUnit) - Method in interface io.netty.util.concurrent.EventExecutorGroup
- schedule(Callable<V>, long, TimeUnit) - Method in class io.netty.util.concurrent.NonStickyEventExecutorGroup
- schedule(Callable<V>, long, TimeUnit) - Method in class io.netty.util.concurrent.UnorderedThreadPoolEventExecutor
- scheduleAtFixedRate(Runnable, long, long, TimeUnit) - Method in class io.netty.util.concurrent.AbstractEventExecutor
- scheduleAtFixedRate(Runnable, long, long, TimeUnit) - Method in class io.netty.util.concurrent.AbstractEventExecutorGroup
- scheduleAtFixedRate(Runnable, long, long, TimeUnit) - Method in class io.netty.util.concurrent.AbstractScheduledEventExecutor
- scheduleAtFixedRate(Runnable, long, long, TimeUnit) - Method in interface io.netty.util.concurrent.EventExecutorGroup
- scheduleAtFixedRate(Runnable, long, long, TimeUnit) - Method in class io.netty.util.concurrent.NonStickyEventExecutorGroup
- scheduleAtFixedRate(Runnable, long, long, TimeUnit) - Method in class io.netty.util.concurrent.UnorderedThreadPoolEventExecutor
- ScheduledFuture<V> - Interface in io.netty.util.concurrent
-
The result of a scheduled asynchronous operation.
- scheduleWithFixedDelay(Runnable, long, long, TimeUnit) - Method in class io.netty.util.concurrent.AbstractEventExecutor
- scheduleWithFixedDelay(Runnable, long, long, TimeUnit) - Method in class io.netty.util.concurrent.AbstractEventExecutorGroup
- scheduleWithFixedDelay(Runnable, long, long, TimeUnit) - Method in class io.netty.util.concurrent.AbstractScheduledEventExecutor
- scheduleWithFixedDelay(Runnable, long, long, TimeUnit) - Method in interface io.netty.util.concurrent.EventExecutorGroup
- scheduleWithFixedDelay(Runnable, long, long, TimeUnit) - Method in class io.netty.util.concurrent.NonStickyEventExecutorGroup
- scheduleWithFixedDelay(Runnable, long, long, TimeUnit) - Method in class io.netty.util.concurrent.UnorderedThreadPoolEventExecutor
- set(int, Object) - Method in class io.netty.util.internal.RecyclableArrayList
- set(InternalThreadLocalMap, V) - Method in class io.netty.util.concurrent.FastThreadLocal
-
Set the value for the specified thread local map.
- set(T) - Method in interface io.netty.util.Attribute
-
Sets the value
- set(V) - Method in class io.netty.util.concurrent.FastThreadLocal
-
Set the value for the current thread.
- setAvailableProcessors(int) - Static method in class io.netty.util.NettyRuntime
-
Set the number of available processors.
- setCleanerFlag(int) - Method in class io.netty.util.internal.InternalThreadLocalMap
- setCounterHashCode(IntegerHolder) - Method in class io.netty.util.internal.InternalThreadLocalMap
-
Deprecated.
- setDefaultFactory(InternalLoggerFactory) - Static method in class io.netty.util.internal.logging.InternalLoggerFactory
-
Changes the default factory.
- setEnabled(boolean) - Static method in class io.netty.util.ResourceLeakDetector
-
Deprecated.Use
ResourceLeakDetector.setLevel(Level)instead. - setFailure(Throwable) - Method in class io.netty.util.concurrent.DefaultProgressivePromise
- setFailure(Throwable) - Method in class io.netty.util.concurrent.DefaultPromise
- setFailure(Throwable) - Method in interface io.netty.util.concurrent.ProgressivePromise
- setFailure(Throwable) - Method in interface io.netty.util.concurrent.Promise
-
Marks this future as a failure and notifies all listeners.
- setFutureListenerStackDepth(int) - Method in class io.netty.util.internal.InternalThreadLocalMap
- setIfAbsent(T) - Method in interface io.netty.util.Attribute
-
Atomically sets to the given value if this
Attribute's value isnull. - setIndexedVariable(int, Object) - Method in class io.netty.util.internal.InternalThreadLocalMap
- setInitialSeedUniquifier(long) - Static method in class io.netty.util.internal.ThreadLocalRandom
-
Deprecated.
- setInitialValue(T) - Method in class io.netty.util.internal.ReferenceCountUpdater
- setLeakListener(ResourceLeakDetector.LeakListener) - Method in class io.netty.util.ResourceLeakDetector
-
Set leak listener.
- setLength(int) - Method in class io.netty.util.internal.AppendableCharSequence
- setLevel(ResourceLeakDetector.Level) - Static method in class io.netty.util.ResourceLeakDetector
-
Sets the resource leak detection level.
- setLocalChannelReaderStackDepth(int) - Method in class io.netty.util.internal.InternalThreadLocalMap
- setMemory(byte[], int, long, byte) - Static method in class io.netty.util.internal.PlatformDependent
- setMemory(long, long, byte) - Static method in class io.netty.util.internal.PlatformDependent
- setProgress(long, long) - Method in class io.netty.util.concurrent.DefaultProgressivePromise
- setProgress(long, long) - Method in interface io.netty.util.concurrent.ProgressivePromise
-
Sets the current progress of the operation and notifies the listeners that implement
GenericProgressiveFutureListener. - setRefCnt(int) - Method in class io.netty.util.AbstractReferenceCounted
-
An unsafe operation intended for use by a subclass that sets the reference count of the buffer directly
- setRefCnt(T, int) - Method in class io.netty.util.internal.ReferenceCountUpdater
-
An unsafe operation that sets the reference count directly
- setResourceLeakDetectorFactory(ResourceLeakDetectorFactory) - Static method in class io.netty.util.ResourceLeakDetectorFactory
-
Set the factory's singleton instance.
- setSeed(long) - Method in class io.netty.util.internal.ThreadLocalRandom
-
Deprecated.Throws
UnsupportedOperationException. - setSuccess(V) - Method in class io.netty.util.concurrent.DefaultProgressivePromise
- setSuccess(V) - Method in class io.netty.util.concurrent.DefaultPromise
- setSuccess(V) - Method in interface io.netty.util.concurrent.ProgressivePromise
- setSuccess(V) - Method in interface io.netty.util.concurrent.Promise
-
Marks this future as a success and notifies all listeners.
- setThreadLocalMap(InternalThreadLocalMap) - Method in class io.netty.util.concurrent.FastThreadLocalThread
-
Sets the internal data structure that keeps the thread-local variables bound to this thread.
- setUncancellable() - Method in class io.netty.util.concurrent.DefaultPromise
- setUncancellable() - Method in interface io.netty.util.concurrent.Promise
-
Make this future impossible to cancel.
- setValue(V) - Method in interface io.netty.util.collection.ByteObjectMap.PrimitiveEntry
-
Sets the value for this entry.
- setValue(V) - Method in interface io.netty.util.collection.CharObjectMap.PrimitiveEntry
-
Sets the value for this entry.
- setValue(V) - Method in interface io.netty.util.collection.IntObjectMap.PrimitiveEntry
-
Sets the value for this entry.
- setValue(V) - Method in interface io.netty.util.collection.LongObjectMap.PrimitiveEntry
-
Sets the value for this entry.
- setValue(V) - Method in interface io.netty.util.collection.ShortObjectMap.PrimitiveEntry
-
Sets the value for this entry.
- ShortCollections - Class in io.netty.util.collection
-
Utilities for short-based primitive collections.
- shortCommitHash() - Method in class io.netty.util.Version
- ShortObjectHashMap<V> - Class in io.netty.util.collection
-
A hash map implementation of
ShortObjectMapthat uses open addressing for keys. - ShortObjectHashMap() - Constructor for class io.netty.util.collection.ShortObjectHashMap
- ShortObjectHashMap(int) - Constructor for class io.netty.util.collection.ShortObjectHashMap
- ShortObjectHashMap(int, float) - Constructor for class io.netty.util.collection.ShortObjectHashMap
- ShortObjectMap<V> - Interface in io.netty.util.collection
-
Interface for a primitive map that uses
shorts as keys. - ShortObjectMap.PrimitiveEntry<V> - Interface in io.netty.util.collection
-
A primitive entry in the map, provided by the iterator from
ShortObjectMap.entries() - shutdown() - Method in class io.netty.util.concurrent.AbstractEventExecutor
- shutdown() - Method in class io.netty.util.concurrent.AbstractEventExecutorGroup
- shutdown() - Method in interface io.netty.util.concurrent.EventExecutorGroup
-
Deprecated.
- shutdown() - Method in class io.netty.util.concurrent.GlobalEventExecutor
-
Deprecated.
- shutdown() - Method in class io.netty.util.concurrent.ImmediateEventExecutor
-
Deprecated.
- shutdown() - Method in class io.netty.util.concurrent.MultithreadEventExecutorGroup
-
Deprecated.
- shutdown() - Method in class io.netty.util.concurrent.NonStickyEventExecutorGroup
- shutdown() - Method in class io.netty.util.concurrent.SingleThreadEventExecutor
-
Deprecated.
- shutdown() - Method in class io.netty.util.concurrent.UnorderedThreadPoolEventExecutor
- shutdownGracefully() - Method in class io.netty.util.concurrent.AbstractEventExecutor
- shutdownGracefully() - Method in class io.netty.util.concurrent.AbstractEventExecutorGroup
- shutdownGracefully() - Method in interface io.netty.util.concurrent.EventExecutorGroup
-
Shortcut method for
EventExecutorGroup.shutdownGracefully(long, long, TimeUnit)with sensible default values. - shutdownGracefully() - Method in class io.netty.util.concurrent.NonStickyEventExecutorGroup
- shutdownGracefully() - Method in class io.netty.util.concurrent.UnorderedThreadPoolEventExecutor
- shutdownGracefully(long, long, TimeUnit) - Method in interface io.netty.util.concurrent.EventExecutorGroup
-
Signals this executor that the caller wants the executor to be shut down.
- shutdownGracefully(long, long, TimeUnit) - Method in class io.netty.util.concurrent.GlobalEventExecutor
- shutdownGracefully(long, long, TimeUnit) - Method in class io.netty.util.concurrent.ImmediateEventExecutor
- shutdownGracefully(long, long, TimeUnit) - Method in class io.netty.util.concurrent.MultithreadEventExecutorGroup
- shutdownGracefully(long, long, TimeUnit) - Method in class io.netty.util.concurrent.NonStickyEventExecutorGroup
- shutdownGracefully(long, long, TimeUnit) - Method in class io.netty.util.concurrent.SingleThreadEventExecutor
- shutdownGracefully(long, long, TimeUnit) - Method in class io.netty.util.concurrent.UnorderedThreadPoolEventExecutor
- shutdownNow() - Method in class io.netty.util.concurrent.AbstractEventExecutor
- shutdownNow() - Method in class io.netty.util.concurrent.AbstractEventExecutorGroup
- shutdownNow() - Method in interface io.netty.util.concurrent.EventExecutorGroup
-
Deprecated.
- shutdownNow() - Method in class io.netty.util.concurrent.NonStickyEventExecutorGroup
- shutdownNow() - Method in class io.netty.util.concurrent.UnorderedThreadPoolEventExecutor
- Signal - Error in io.netty.util
-
A special
Errorwhich is used to signal some state or request by throwing it. - SIMPLE - io.netty.util.ResourceLeakDetector.Level
-
Enables simplistic sampling resource leak detection which reports there is a leak or not, at the cost of small overhead (default).
- simpleClassName(Class<?>) - Static method in class io.netty.util.internal.StringUtil
-
Generates a simplified name from a
Class. - simpleClassName(Object) - Static method in class io.netty.util.internal.StringUtil
-
The shortcut to
simpleClassName(o.getClass()). - SingleThreadEventExecutor - Class in io.netty.util.concurrent
-
Abstract base class for
OrderedEventExecutor's that execute all its submitted tasks in a single thread. - SingleThreadEventExecutor(EventExecutorGroup, Executor, boolean) - Constructor for class io.netty.util.concurrent.SingleThreadEventExecutor
-
Create a new instance
- SingleThreadEventExecutor(EventExecutorGroup, Executor, boolean, int, RejectedExecutionHandler) - Constructor for class io.netty.util.concurrent.SingleThreadEventExecutor
-
Create a new instance
- SingleThreadEventExecutor(EventExecutorGroup, Executor, boolean, Queue<Runnable>, RejectedExecutionHandler) - Constructor for class io.netty.util.concurrent.SingleThreadEventExecutor
- SingleThreadEventExecutor(EventExecutorGroup, ThreadFactory, boolean) - Constructor for class io.netty.util.concurrent.SingleThreadEventExecutor
-
Create a new instance
- SingleThreadEventExecutor(EventExecutorGroup, ThreadFactory, boolean, int, RejectedExecutionHandler) - Constructor for class io.netty.util.concurrent.SingleThreadEventExecutor
-
Create a new instance
- SingleThreadEventExecutor.NonWakeupRunnable - Interface in io.netty.util.concurrent
-
Deprecated.override
SingleThreadEventExecutor.wakesUpForTask(java.lang.Runnable)to re-create this behaviour - size() - Method in class io.netty.util.collection.ByteObjectHashMap
- size() - Method in class io.netty.util.collection.CharObjectHashMap
- size() - Method in class io.netty.util.collection.IntObjectHashMap
- size() - Method in class io.netty.util.collection.LongObjectHashMap
- size() - Method in class io.netty.util.collection.ShortObjectHashMap
- size() - Static method in class io.netty.util.concurrent.FastThreadLocal
-
Returns the number of thread local variables bound to the current thread.
- size() - Method in class io.netty.util.internal.ConcurrentSet
-
Deprecated.
- size() - Method in class io.netty.util.internal.DefaultPriorityQueue
- size() - Method in class io.netty.util.internal.EmptyPriorityQueue
- size() - Method in class io.netty.util.internal.InternalThreadLocalMap
- Slf4JLoggerFactory - Class in io.netty.util.internal.logging
-
Logger factory which creates a SLF4J logger.
- Slf4JLoggerFactory() - Constructor for class io.netty.util.internal.logging.Slf4JLoggerFactory
-
Deprecated.Use
Slf4JLoggerFactory.INSTANCEinstead. - socketAddress(String, int) - Static method in class io.netty.util.internal.SocketUtils
- SocketUtils - Class in io.netty.util.internal
-
Provides socket operations with privileges enabled.
- SOMAXCONN - Static variable in class io.netty.util.NetUtil
-
The SOMAXCONN value of the current machine.
- SPACE - Static variable in class io.netty.util.internal.StringUtil
- split(char) - Method in class io.netty.util.AsciiString
-
Splits the specified
Stringwith the specified delimiter.. - split(String, int) - Method in class io.netty.util.AsciiString
-
Splits this string using the supplied regular expression
expr. - stackTrace() - Method in interface io.netty.util.concurrent.ThreadProperties
- stackTraceToString(Throwable) - Static method in class io.netty.util.internal.ThrowableUtil
-
Gets the stack trace from a Throwable as a String.
- start() - Method in class io.netty.util.HashedWheelTimer
-
Starts the background thread explicitly.
- startsWith(CharSequence) - Method in class io.netty.util.AsciiString
-
Compares the specified string to this string to determine if the specified string is a prefix.
- startsWith(CharSequence, int) - Method in class io.netty.util.AsciiString
-
Compares the specified string to this string, starting at the specified offset, to determine if the specified string is a prefix.
- state() - Method in interface io.netty.util.concurrent.ThreadProperties
- stop() - Method in class io.netty.util.HashedWheelTimer
- stop() - Method in interface io.netty.util.Timer
-
Releases all resources acquired by this
Timerand cancels all tasks which were scheduled but not executed yet. - stringBuilder() - Method in class io.netty.util.internal.InternalThreadLocalMap
- StringUtil - Class in io.netty.util.internal
-
String utility class.
- submit(Runnable) - Method in class io.netty.util.concurrent.AbstractEventExecutor
- submit(Runnable) - Method in class io.netty.util.concurrent.AbstractEventExecutorGroup
- submit(Runnable) - Method in interface io.netty.util.concurrent.EventExecutorGroup
- submit(Runnable) - Method in class io.netty.util.concurrent.NonStickyEventExecutorGroup
- submit(Runnable) - Method in class io.netty.util.concurrent.UnorderedThreadPoolEventExecutor
- submit(Runnable, T) - Method in class io.netty.util.concurrent.AbstractEventExecutor
- submit(Runnable, T) - Method in class io.netty.util.concurrent.AbstractEventExecutorGroup
- submit(Runnable, T) - Method in interface io.netty.util.concurrent.EventExecutorGroup
- submit(Runnable, T) - Method in class io.netty.util.concurrent.NonStickyEventExecutorGroup
- submit(Runnable, T) - Method in class io.netty.util.concurrent.UnorderedThreadPoolEventExecutor
- submit(Callable<T>) - Method in class io.netty.util.concurrent.AbstractEventExecutor
- submit(Callable<T>) - Method in class io.netty.util.concurrent.AbstractEventExecutorGroup
- submit(Callable<T>) - Method in interface io.netty.util.concurrent.EventExecutorGroup
- submit(Callable<T>) - Method in class io.netty.util.concurrent.NonStickyEventExecutorGroup
- submit(Callable<T>) - Method in class io.netty.util.concurrent.UnorderedThreadPoolEventExecutor
- subSequence(int) - Method in class io.netty.util.AsciiString
-
Copies a range of characters into a new string.
- subSequence(int, int) - Method in class io.netty.util.AsciiString
-
Copies a range of characters into a new string.
- subSequence(int, int) - Method in class io.netty.util.internal.AppendableCharSequence
- subSequence(int, int, boolean) - Method in class io.netty.util.AsciiString
-
Either copy or share a subset of underlying sub-sequence of bytes.
- substring(int, int) - Method in class io.netty.util.internal.AppendableCharSequence
-
Create a new
Stringfrom the given start to end. - substringAfter(String, char) - Static method in class io.netty.util.internal.StringUtil
-
Get the item after one char delim if the delim is found (else null).
- substringBefore(String, char) - Static method in class io.netty.util.internal.StringUtil
-
Get the item before one char delim if the delim is found (else null).
- subStringUnsafe(int, int) - Method in class io.netty.util.internal.AppendableCharSequence
-
Create a new
Stringfrom the given start to end. - SucceededFuture<V> - Class in io.netty.util.concurrent
-
The
CompleteFuturewhich is succeeded already. - SucceededFuture(EventExecutor, V) - Constructor for class io.netty.util.concurrent.SucceededFuture
-
Creates a new instance.
- successAndRecycle() - Method in class io.netty.util.internal.PendingWrite
-
Mark the underlying
Promisesuccessfully and recycle this instance. - SuppressForbidden - Annotation Type in io.netty.util
-
Annotation to suppress forbidden-apis errors inside a whole class, a method, or a field.
- SuppressJava6Requirement - Annotation Type in io.netty.util.internal
-
Deprecated.
- SuppressJava8Requirement - Annotation Type in io.netty.util.internal
-
Annotation to suppress the Java 8 source code requirement checks for a method.
- SWARUtil - Class in io.netty.util.internal
-
Utility class for SWAR (SIMD within a register) operations.
- sync() - Method in class io.netty.util.concurrent.CompleteFuture
- sync() - Method in class io.netty.util.concurrent.DefaultProgressivePromise
- sync() - Method in class io.netty.util.concurrent.DefaultPromise
- sync() - Method in class io.netty.util.concurrent.FailedFuture
- sync() - Method in interface io.netty.util.concurrent.Future
-
Waits for this future until it is done, and rethrows the cause of the failure if this future failed.
- sync() - Method in interface io.netty.util.concurrent.ProgressiveFuture
- sync() - Method in interface io.netty.util.concurrent.ProgressivePromise
- sync() - Method in interface io.netty.util.concurrent.Promise
- syncUninterruptibly() - Method in class io.netty.util.concurrent.CompleteFuture
- syncUninterruptibly() - Method in class io.netty.util.concurrent.DefaultProgressivePromise
- syncUninterruptibly() - Method in class io.netty.util.concurrent.DefaultPromise
- syncUninterruptibly() - Method in class io.netty.util.concurrent.FailedFuture
- syncUninterruptibly() - Method in interface io.netty.util.concurrent.Future
-
Waits for this future until it is done, and rethrows the cause of the failure if this future failed.
- syncUninterruptibly() - Method in interface io.netty.util.concurrent.ProgressiveFuture
- syncUninterruptibly() - Method in interface io.netty.util.concurrent.ProgressivePromise
- syncUninterruptibly() - Method in interface io.netty.util.concurrent.Promise
- SystemPropertyUtil - Class in io.netty.util.internal
-
A collection of utility methods to retrieve and parse the values of the Java system properties.
T
- TAB - Static variable in class io.netty.util.internal.StringUtil
- takeTask() - Method in class io.netty.util.concurrent.SingleThreadEventExecutor
-
Take the next
Runnablefrom the task queue and so will block if no task is currently present. - task() - Method in interface io.netty.util.Timeout
-
Returns the
TimerTaskwhich is associated with this handle. - terminationFuture() - Method in interface io.netty.util.concurrent.EventExecutorGroup
-
Returns the
Futurewhich is notified when allEventExecutors managed by thisEventExecutorGrouphave been terminated. - terminationFuture() - Method in class io.netty.util.concurrent.GlobalEventExecutor
- terminationFuture() - Method in class io.netty.util.concurrent.ImmediateEventExecutor
- terminationFuture() - Method in class io.netty.util.concurrent.MultithreadEventExecutorGroup
- terminationFuture() - Method in class io.netty.util.concurrent.NonStickyEventExecutorGroup
- terminationFuture() - Method in class io.netty.util.concurrent.SingleThreadEventExecutor
- terminationFuture() - Method in class io.netty.util.concurrent.UnorderedThreadPoolEventExecutor
- ThreadDeathWatcher - Class in io.netty.util
-
Deprecated.will be removed in the next major release
- ThreadExecutorMap - Class in io.netty.util.internal
-
Allow to retrieve the
EventExecutorfor the callingThread. - threadGroup - Variable in class io.netty.util.concurrent.DefaultThreadFactory
- threadLocalMap() - Method in class io.netty.util.concurrent.FastThreadLocalThread
-
Returns the internal data structure that keeps the thread-local variables bound to this thread.
- threadLocalRandom() - Static method in class io.netty.util.internal.PlatformDependent
-
Return a
Randomwhich is not-threadsafe and so can only be used from the same thread. - ThreadLocalRandom - Class in io.netty.util.internal
-
Deprecated.
- ThreadPerTaskExecutor - Class in io.netty.util.concurrent
- ThreadPerTaskExecutor(ThreadFactory) - Constructor for class io.netty.util.concurrent.ThreadPerTaskExecutor
- threadProperties() - Method in class io.netty.util.concurrent.SingleThreadEventExecutor
- ThreadProperties - Interface in io.netty.util.concurrent
-
Expose details for a
Thread. - ThrowableUtil - Class in io.netty.util.internal
- throwException(Throwable) - Static method in class io.netty.util.internal.PlatformDependent
-
Raises an exception bypassing compiler checks for checked exceptions.
- Timeout - Interface in io.netty.util
- timer() - Method in interface io.netty.util.Timeout
-
Returns the
Timerthat created this handle. - Timer - Interface in io.netty.util
-
Schedules
TimerTasks for one-time future execution in a background thread. - TimerTask - Interface in io.netty.util
-
A task which is executed after the delay specified with
Timer.newTimeout(TimerTask, long, TimeUnit). - tmpdir() - Static method in class io.netty.util.internal.PlatformDependent
-
Returns the temporary directory.
- toAddressString(InetAddress) - Static method in class io.netty.util.NetUtil
-
Returns the
Stringrepresentation of anInetAddress. - toAddressString(InetAddress, boolean) - Static method in class io.netty.util.NetUtil
-
Returns the
Stringrepresentation of anInetAddress. - toArray() - Method in class io.netty.util.internal.DefaultPriorityQueue
- toArray() - Method in class io.netty.util.internal.EmptyPriorityQueue
- toArray(T1[]) - Method in class io.netty.util.internal.EmptyPriorityQueue
- toArray(X[]) - Method in class io.netty.util.internal.DefaultPriorityQueue
- toByteArray() - Method in class io.netty.util.AsciiString
-
Converts this string to a byte array.
- toByteArray(int, int) - Method in class io.netty.util.AsciiString
-
Converts a subset of this string to a byte array.
- toCharArray() - Method in class io.netty.util.AsciiString
-
Copies the characters in this string to a character array.
- toCharArray(int, int) - Method in class io.netty.util.AsciiString
-
Copies the characters in this string to a character array.
- toHexString(byte[]) - Static method in class io.netty.util.internal.StringUtil
-
Converts the specified byte array into a hexadecimal value.
- toHexString(byte[], int, int) - Static method in class io.netty.util.internal.StringUtil
-
Converts the specified byte array into a hexadecimal value.
- toHexString(T, byte[]) - Static method in class io.netty.util.internal.StringUtil
-
Converts the specified byte array into a hexadecimal value and appends it to the specified buffer.
- toHexString(T, byte[], int, int) - Static method in class io.netty.util.internal.StringUtil
-
Converts the specified byte array into a hexadecimal value and appends it to the specified buffer.
- toHexStringPadded(byte[]) - Static method in class io.netty.util.internal.StringUtil
-
Converts the specified byte array into a hexadecimal value.
- toHexStringPadded(byte[], int, int) - Static method in class io.netty.util.internal.StringUtil
-
Converts the specified byte array into a hexadecimal value.
- toHexStringPadded(T, byte[]) - Static method in class io.netty.util.internal.StringUtil
-
Converts the specified byte array into a hexadecimal value and appends it to the specified buffer.
- toHexStringPadded(T, byte[], int, int) - Static method in class io.netty.util.internal.StringUtil
-
Converts the specified byte array into a hexadecimal value and appends it to the specified buffer.
- toHintString() - Method in interface io.netty.util.ResourceLeakHint
-
Returns a human-readable message that potentially enables easier resource leak tracking.
- toLowerCase() - Method in class io.netty.util.AsciiString
-
Converts the characters in this string to lowercase, using the default Locale.
- toLowerCase(char) - Static method in class io.netty.util.AsciiString
-
If the character is uppercase - converts the character to lowercase, otherwise returns the character as it is.
- toLowerCase(int) - Static method in class io.netty.util.internal.SWARUtil
-
Returns a word with all bytes converted to lowercase ASCII.
- toLowerCase(long) - Static method in class io.netty.util.internal.SWARUtil
-
Returns a word with all bytes converted to lowercase ASCII.
- toPoolName(Class<?>) - Static method in class io.netty.util.concurrent.DefaultThreadFactory
- toSocketAddressString(String, int) - Static method in class io.netty.util.NetUtil
-
Returns the
Stringrepresentation of a host port combo. - toSocketAddressString(InetSocketAddress) - Static method in class io.netty.util.NetUtil
-
Returns the
Stringrepresentation of anInetSocketAddress. - toString() - Method in class io.netty.util.AbstractConstant
- toString() - Method in class io.netty.util.AsciiString
-
Translates the entire byte string to a
String. - toString() - Method in class io.netty.util.collection.ByteObjectHashMap
- toString() - Method in class io.netty.util.collection.CharObjectHashMap
- toString() - Method in class io.netty.util.collection.IntObjectHashMap
- toString() - Method in class io.netty.util.collection.LongObjectHashMap
- toString() - Method in class io.netty.util.collection.ShortObjectHashMap
- toString() - Method in class io.netty.util.concurrent.DefaultPromise
- toString() - Method in class io.netty.util.DomainNameMapping
-
Deprecated.
- toString() - Method in class io.netty.util.internal.AppendableCharSequence
- toString() - Method in class io.netty.util.internal.EmptyPriorityQueue
- toString() - Method in class io.netty.util.internal.logging.AbstractInternalLogger
- toString() - Method in error io.netty.util.Signal
- toString() - Method in class io.netty.util.Version
- toString(int) - Method in class io.netty.util.AsciiString
-
Translates the entire byte string to a
Stringusing thecharsetencoding. - toString(int, int) - Method in class io.netty.util.AsciiString
- toStringBuilder() - Method in class io.netty.util.concurrent.DefaultPromise
- touch() - Method in class io.netty.util.AbstractReferenceCounted
- touch() - Method in interface io.netty.util.ReferenceCounted
-
Records the current access location of this object for debugging purposes.
- touch(Object) - Method in interface io.netty.util.ReferenceCounted
-
Records the current access location of this object with an additional arbitrary information for debugging purposes.
- touch(T) - Static method in class io.netty.util.ReferenceCountUtil
-
Tries to call
ReferenceCounted.touch()if the specified message implementsReferenceCounted. - touch(T, Object) - Static method in class io.netty.util.ReferenceCountUtil
-
Tries to call
ReferenceCounted.touch(Object)if the specified message implementsReferenceCounted. - toUpperCase() - Method in class io.netty.util.AsciiString
-
Converts the characters in this string to uppercase, using the default Locale.
- toUpperCase(int) - Static method in class io.netty.util.internal.SWARUtil
-
Returns a word with all bytes converted to uppercase ASCII.
- toUpperCase(long) - Static method in class io.netty.util.internal.SWARUtil
-
Returns a word with all bytes converted to uppercase ASCII.
- trace(String) - Method in interface io.netty.util.internal.logging.InternalLogger
-
Log a message at the TRACE level.
- trace(String, Object) - Method in interface io.netty.util.internal.logging.InternalLogger
-
Log a message at the TRACE level according to the specified format and argument.
- trace(String, Object...) - Method in interface io.netty.util.internal.logging.InternalLogger
-
Log a message at the TRACE level according to the specified format and arguments.
- trace(String, Object, Object) - Method in interface io.netty.util.internal.logging.InternalLogger
-
Log a message at the TRACE level according to the specified format and arguments.
- trace(String, Throwable) - Method in interface io.netty.util.internal.logging.InternalLogger
-
Log an exception (throwable) at the TRACE level with an accompanying message.
- trace(Throwable) - Method in class io.netty.util.internal.logging.AbstractInternalLogger
- trace(Throwable) - Method in interface io.netty.util.internal.logging.InternalLogger
-
Log an exception (throwable) at the TRACE level.
- TRACE - io.netty.util.internal.logging.InternalLogLevel
-
'TRACE' log level.
- track(T) - Method in class io.netty.util.ResourceLeakDetector
-
Creates a new
ResourceLeakTrackerwhich is expected to be closed viaResourceLeakTracker.close(Object)when the related resource is deallocated. - trackForcibly(T) - Method in class io.netty.util.ResourceLeakDetector
-
Creates a new
ResourceLeakTrackerwhich is expected to be closed viaResourceLeakTracker.close(Object)when the related resource is deallocated. - trim() - Method in class io.netty.util.AsciiString
-
Duplicates this string removing white space characters from the beginning and end of the string, without copying.
- trim(CharSequence) - Static method in class io.netty.util.AsciiString
-
Copies this string removing white space characters from the beginning and end of the string, and tries not to copy if possible.
- trimOws(CharSequence) - Static method in class io.netty.util.internal.StringUtil
-
Trim optional white-space characters from the specified value, according to RFC-7230.
- TRUE_SUPPLIER - Static variable in interface io.netty.util.BooleanSupplier
-
A supplier which always returns
trueand never throws. - TRUE_SUPPLIER - Static variable in interface io.netty.util.UncheckedBooleanSupplier
-
A supplier which always returns
trueand never throws. - tryCancel(Promise<?>, InternalLogger) - Static method in class io.netty.util.internal.PromiseNotificationUtil
- tryFailure(Promise<?>, Throwable, InternalLogger) - Static method in class io.netty.util.internal.PromiseNotificationUtil
- tryFailure(Throwable) - Method in class io.netty.util.concurrent.DefaultPromise
- tryFailure(Throwable) - Method in interface io.netty.util.concurrent.Promise
-
Marks this future as a failure and notifies all listeners.
- tryLoadClasses(Class<?>, Class<?>...) - Static method in class io.netty.util.internal.ClassInitializerUtil
-
Preload the given classes and so ensure the
ClassLoaderhas these loaded after this method call. - tryProgress(long, long) - Method in class io.netty.util.concurrent.DefaultProgressivePromise
- tryProgress(long, long) - Method in interface io.netty.util.concurrent.ProgressivePromise
-
Tries to set the current progress of the operation and notifies the listeners that implement
GenericProgressiveFutureListener. - trySetAccessible(AccessibleObject, boolean) - Static method in class io.netty.util.internal.ReflectionUtil
-
Try to call
AccessibleObject.setAccessible(boolean)but will catch anySecurityExceptionandInaccessibleObjectExceptionand return it. - trySuccess(Promise<? super V>, V, InternalLogger) - Static method in class io.netty.util.internal.PromiseNotificationUtil
- trySuccess(V) - Method in class io.netty.util.concurrent.DefaultPromise
- trySuccess(V) - Method in interface io.netty.util.concurrent.Promise
-
Marks this future as a success and notifies all listeners.
- TypeParameterMatcher - Class in io.netty.util.internal
- typeParameterMatcherFindCache() - Method in class io.netty.util.internal.InternalThreadLocalMap
- typeParameterMatcherGetCache() - Method in class io.netty.util.internal.InternalThreadLocalMap
U
- UnaryPromiseNotifier<T> - Class in io.netty.util.concurrent
-
Deprecated.
- UnaryPromiseNotifier(Promise<? super T>) - Constructor for class io.netty.util.concurrent.UnaryPromiseNotifier
-
Deprecated.
- UncheckedBooleanSupplier - Interface in io.netty.util
-
Represents a supplier of
boolean-valued results which doesn't throw any checked exceptions. - unescapeCsv(CharSequence) - Static method in class io.netty.util.internal.StringUtil
-
Unescapes the specified escaped CSV field, if necessary according to RFC-4180.
- unescapeCsvFields(CharSequence) - Static method in class io.netty.util.internal.StringUtil
-
Unescapes the specified escaped CSV fields according to RFC-4180.
- unguardedRecycle(Object) - Method in class io.netty.util.Recycler.EnhancedHandle
- unknownStackTrace(T, Class<?>, String) - Static method in class io.netty.util.internal.ThrowableUtil
- unmodifiableMap(ByteObjectMap<V>) - Static method in class io.netty.util.collection.ByteCollections
-
Creates an unmodifiable wrapper around the given map.
- unmodifiableMap(CharObjectMap<V>) - Static method in class io.netty.util.collection.CharCollections
-
Creates an unmodifiable wrapper around the given map.
- unmodifiableMap(IntObjectMap<V>) - Static method in class io.netty.util.collection.IntCollections
-
Creates an unmodifiable wrapper around the given map.
- unmodifiableMap(LongObjectMap<V>) - Static method in class io.netty.util.collection.LongCollections
-
Creates an unmodifiable wrapper around the given map.
- unmodifiableMap(ShortObjectMap<V>) - Static method in class io.netty.util.collection.ShortCollections
-
Creates an unmodifiable wrapper around the given map.
- UnorderedThreadPoolEventExecutor - Class in io.netty.util.concurrent
-
EventExecutorimplementation which makes no guarantees about the ordering of task execution that are submitted because there may be multiple threads executing these tasks. - UnorderedThreadPoolEventExecutor(int) - Constructor for class io.netty.util.concurrent.UnorderedThreadPoolEventExecutor
- UnorderedThreadPoolEventExecutor(int, RejectedExecutionHandler) - Constructor for class io.netty.util.concurrent.UnorderedThreadPoolEventExecutor
- UnorderedThreadPoolEventExecutor(int, ThreadFactory) - Constructor for class io.netty.util.concurrent.UnorderedThreadPoolEventExecutor
- UnorderedThreadPoolEventExecutor(int, ThreadFactory, RejectedExecutionHandler) - Constructor for class io.netty.util.concurrent.UnorderedThreadPoolEventExecutor
- unsafeOffset() - Method in class io.netty.util.internal.ReferenceCountUpdater
- UNSET - Static variable in class io.netty.util.internal.InternalThreadLocalMap
-
Internal use only.
- UnstableApi - Annotation Type in io.netty.util.internal
-
Indicates a public API that can change at any time (even in minor/bugfix releases).
- unwatch(Thread, Runnable) - Static method in class io.netty.util.ThreadDeathWatcher
-
Deprecated.Cancels the task scheduled via
ThreadDeathWatcher.watch(Thread, Runnable). - updateLastExecutionTime() - Method in class io.netty.util.concurrent.SingleThreadEventExecutor
-
Updates the internal timestamp that tells when a submitted task was executed most recently.
- updater() - Method in class io.netty.util.internal.ReferenceCountUpdater
- US_ASCII - Static variable in class io.netty.util.CharsetUtil
-
7-bit ASCII, as known as ISO646-US or the Basic Latin block of the Unicode character set
- usedDirectMemory() - Static method in class io.netty.util.internal.PlatformDependent
-
Returns the current memory reserved for direct buffer allocation.
- useDirectBufferNoCleaner() - Static method in class io.netty.util.internal.PlatformDependent
- UTF_16 - Static variable in class io.netty.util.CharsetUtil
-
16-bit UTF (UCS Transformation Format) whose byte order is identified by an optional byte-order mark
- UTF_16BE - Static variable in class io.netty.util.CharsetUtil
-
16-bit UTF (UCS Transformation Format) whose byte order is big-endian
- UTF_16LE - Static variable in class io.netty.util.CharsetUtil
-
16-bit UTF (UCS Transformation Format) whose byte order is little-endian
- UTF_8 - Static variable in class io.netty.util.CharsetUtil
-
8-bit UTF (UCS Transformation Format)
V
- validateScheduled(long, TimeUnit) - Method in class io.netty.util.concurrent.AbstractScheduledEventExecutor
-
Deprecated.will be removed in the future.
- value - Variable in class io.netty.util.internal.IntegerHolder
-
Deprecated.
- value() - Method in interface io.netty.util.collection.ByteObjectMap.PrimitiveEntry
-
Gets the value for this entry.
- value() - Method in interface io.netty.util.collection.CharObjectMap.PrimitiveEntry
-
Gets the value for this entry.
- value() - Method in interface io.netty.util.collection.IntObjectMap.PrimitiveEntry
-
Gets the value for this entry.
- value() - Method in interface io.netty.util.collection.LongObjectMap.PrimitiveEntry
-
Gets the value for this entry.
- value() - Method in interface io.netty.util.collection.ShortObjectMap.PrimitiveEntry
-
Gets the value for this entry.
- value() - Method in interface io.netty.util.internal.LongCounter
- valueOf(Class<?>, String) - Static method in class io.netty.util.AttributeKey
- valueOf(Class<?>, String) - Method in class io.netty.util.ConstantPool
- valueOf(Class<?>, String) - Static method in error io.netty.util.Signal
- valueOf(String) - Static method in class io.netty.util.AttributeKey
-
Returns the singleton instance of the
AttributeKeywhich has the specifiedname. - valueOf(String) - Method in class io.netty.util.ConstantPool
-
Returns the
Constantwhich is assigned to the specifiedname. - valueOf(String) - Static method in enum io.netty.util.internal.logging.InternalLogLevel
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum io.netty.util.ResourceLeakDetector.Level
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in error io.netty.util.Signal
-
Returns the
Signalof the specified name. - values() - Static method in class io.netty.util.CharsetUtil
- values() - Method in class io.netty.util.collection.ByteObjectHashMap
- values() - Method in class io.netty.util.collection.CharObjectHashMap
- values() - Method in class io.netty.util.collection.IntObjectHashMap
- values() - Method in class io.netty.util.collection.LongObjectHashMap
- values() - Method in class io.netty.util.collection.ShortObjectHashMap
- values() - Static method in enum io.netty.util.internal.logging.InternalLogLevel
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum io.netty.util.ResourceLeakDetector.Level
-
Returns an array containing the constants of this enum type, in the order they are declared.
- VARIABLES_TO_REMOVE_INDEX - Static variable in class io.netty.util.internal.InternalThreadLocalMap
- Version - Class in io.netty.util
-
Retrieves the version information of available Netty artifacts.
W
- wakesUpForTask(Runnable) - Method in class io.netty.util.concurrent.SingleThreadEventExecutor
-
Can be overridden to control which tasks require waking the
EventExecutorthread if it is waiting so that they can be run immediately. - wakeup(boolean) - Method in class io.netty.util.concurrent.SingleThreadEventExecutor
- warn(String) - Method in interface io.netty.util.internal.logging.InternalLogger
-
Log a message at the WARN level.
- warn(String, Object) - Method in interface io.netty.util.internal.logging.InternalLogger
-
Log a message at the WARN level according to the specified format and argument.
- warn(String, Object...) - Method in interface io.netty.util.internal.logging.InternalLogger
-
Log a message at the WARN level according to the specified format and arguments.
- warn(String, Object, Object) - Method in interface io.netty.util.internal.logging.InternalLogger
-
Log a message at the WARN level according to the specified format and arguments.
- warn(String, Throwable) - Method in interface io.netty.util.internal.logging.InternalLogger
-
Log an exception (throwable) at the WARN level with an accompanying message.
- warn(Throwable) - Method in class io.netty.util.internal.logging.AbstractInternalLogger
- warn(Throwable) - Method in interface io.netty.util.internal.logging.InternalLogger
-
Log an exception (throwable) at the WARN level.
- WARN - io.netty.util.internal.logging.InternalLogLevel
-
'WARN' log level.
- watch(Thread, Runnable) - Static method in class io.netty.util.ThreadDeathWatcher
-
Deprecated.Schedules the specified
taskto run when the specifiedthreaddies. - willCleanupFastThreadLocals() - Method in class io.netty.util.concurrent.FastThreadLocalThread
- willCleanupFastThreadLocals(Thread) - Static method in class io.netty.util.concurrent.FastThreadLocalThread
- WORKER_STATE_INIT - Static variable in class io.netty.util.HashedWheelTimer
- WORKER_STATE_SHUTDOWN - Static variable in class io.netty.util.HashedWheelTimer
- WORKER_STATE_STARTED - Static variable in class io.netty.util.HashedWheelTimer
All Classes All Packages