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.netty5.util
-
Base implementation of
Constant. - AbstractConstant(int, String) - Constructor for class io.netty5.util.AbstractConstant
-
Creates a new instance.
- AbstractEventExecutor - Class in io.netty5.util.concurrent
-
Abstract base class for
EventExecutorimplementations. - AbstractEventExecutor() - Constructor for class io.netty5.util.concurrent.AbstractEventExecutor
- AbstractInternalLogger - Class in io.netty5.util.internal.logging
-
A skeletal implementation of
InternalLogger. - AbstractInternalLogger(String) - Constructor for class io.netty5.util.internal.logging.AbstractInternalLogger
-
Creates a new instance.
- AbstractReferenceCounted - Class in io.netty5.util
-
Abstract base class for classes wants to implement
ReferenceCounted. - AbstractReferenceCounted() - Constructor for class io.netty5.util.AbstractReferenceCounted
- AbstractScheduledEventExecutor - Class in io.netty5.util.concurrent
-
Abstract base class for
EventExecutors that want to support scheduling. - AbstractScheduledEventExecutor() - Constructor for class io.netty5.util.concurrent.AbstractScheduledEventExecutor
- accept(ServerSocketChannel) - Static method in class io.netty5.util.internal.SocketUtils
- acceptEither(CompletionStage<? extends V>, Consumer<? super V>) - Method in class io.netty5.util.concurrent.DefaultPromise
- acceptEither(CompletionStage<? extends V>, Consumer<? super V>) - Method in interface io.netty5.util.concurrent.FutureCompletionStage
- acceptEitherAsync(CompletionStage<? extends V>, Consumer<? super V>) - Method in class io.netty5.util.concurrent.DefaultPromise
- acceptEitherAsync(CompletionStage<? extends V>, Consumer<? super V>) - Method in interface io.netty5.util.concurrent.FutureCompletionStage
- acceptEitherAsync(CompletionStage<? extends V>, Consumer<? super V>, Executor) - Method in class io.netty5.util.concurrent.DefaultPromise
- acceptEitherAsync(CompletionStage<? extends V>, Consumer<? super V>, Executor) - Method in interface io.netty5.util.concurrent.FutureCompletionStage
- add(int, Object) - Method in class io.netty5.util.internal.RecyclableArrayList
- add(Future<?>) - Method in class io.netty5.util.concurrent.PromiseCombiner
-
Adds a new future to be combined.
- add(Object) - Method in class io.netty5.util.internal.RecyclableArrayList
- add(String, V) - Method in class io.netty5.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.netty5.util.DomainNameMapping
-
Deprecated.use
DomainNameMappingBuilderto create and fill the mapping instead - add(String, V) - Method in class io.netty5.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.netty5.util.DomainWildcardMappingBuilder
-
Adds a mapping that maps the specified (optionally wildcard) host name to the specified output value.
- add(T) - Method in class io.netty5.util.internal.EmptyPriorityQueue
- addAll(int, Collection<?>) - Method in class io.netty5.util.internal.RecyclableArrayList
- addAll(Future<?>...) - Method in class io.netty5.util.concurrent.PromiseCombiner
-
Adds new futures to be combined.
- addAll(Collection<?>) - Method in class io.netty5.util.internal.RecyclableArrayList
- addAll(Collection<? extends T>) - Method in class io.netty5.util.internal.EmptyPriorityQueue
- addExclusions(Class<?>, String...) - Static method in class io.netty5.util.ResourceLeakDetector
- addListener(C, FutureContextListener<? super C, ? super V>) - Method in class io.netty5.util.concurrent.DefaultPromise
- addListener(C, FutureContextListener<? super C, ? super V>) - Method in interface io.netty5.util.concurrent.Future
-
Adds the specified listener to this future.
- addListener(C, FutureContextListener<? super C, ? super V>) - Method in interface io.netty5.util.concurrent.RunnableFuture
- addListener(C, FutureContextListener<? super C, ? super V>) - Method in interface io.netty5.util.concurrent.RunnableScheduledFuture
- addListener(FutureListener<? super V>) - Method in class io.netty5.util.concurrent.DefaultPromise
- addListener(FutureListener<? super V>) - Method in interface io.netty5.util.concurrent.Future
-
Adds the specified listener to this future.
- addListener(FutureListener<? super V>) - Method in interface io.netty5.util.concurrent.RunnableFuture
- addListener(FutureListener<? super V>) - Method in interface io.netty5.util.concurrent.RunnableScheduledFuture
- addressByName(String) - Static method in class io.netty5.util.internal.SocketUtils
- addressesFromNetworkInterface(NetworkInterface) - Static method in class io.netty5.util.internal.SocketUtils
- addressSize() - Static method in class io.netty5.util.internal.PlatformDependent
-
Return the address size of the OS. 4 (for 32 bits systems ) and 8 (for 64 bits systems).
- addressType(ProtocolFamily) - Static method in class io.netty5.util.NetUtil
-
Returns the address type for the given
ProtocolFamily. - addShutdownHook(Runnable) - Method in class io.netty5.util.concurrent.SingleThreadEventExecutor
-
Add a
Runnablewhich will be executed on shutdown of this instance - addSuppressed(Throwable, Throwable) - Static method in class io.netty5.util.internal.ThrowableUtil
- addSuppressed(Throwable, List<Throwable>) - Static method in class io.netty5.util.internal.ThrowableUtil
- addSuppressedAndClear(Throwable, List<Throwable>) - Static method in class io.netty5.util.internal.ThrowableUtil
- ADVANCED - io.netty5.util.ResourceLeakDetector.Level
-
Enables advanced sampling resource leak detection which reports where the leaked object was accessed recently at the cost of high overhead.
- align(long, int) - Static method in class io.netty5.util.internal.PlatformDependent
- alignDirectBuffer(ByteBuffer, int) - Static method in class io.netty5.util.internal.PlatformDependent
- allAddressesByName(String) - Static method in class io.netty5.util.internal.SocketUtils
- allocateDirectNoCleaner(int) - Static method in class io.netty5.util.internal.PlatformDependent
-
Allocate a new
ByteBufferwith the givencapacity. - allocateMemory(long) - Static method in class io.netty5.util.internal.PlatformDependent
- allocateUninitializedArray(int) - Static method in class io.netty5.util.internal.PlatformDependent
- append(char) - Method in class io.netty5.util.internal.AppendableCharSequence
- append(CharSequence) - Method in class io.netty5.util.internal.AppendableCharSequence
- append(CharSequence, int, int) - Method in class io.netty5.util.internal.AppendableCharSequence
- AppendableCharSequence - Class in io.netty5.util.internal
- AppendableCharSequence(int) - Constructor for class io.netty5.util.internal.AppendableCharSequence
- apply(Runnable, EventExecutor) - Static method in class io.netty5.util.internal.ThreadExecutorMap
-
Decorate the given
Runnableand ensureThreadExecutorMap.currentExecutor()will returneventExecutorwhen called from within theRunnableduring execution. - apply(Executor, EventExecutor) - Static method in class io.netty5.util.internal.ThreadExecutorMap
-
Decorate the given
Executorand ensureThreadExecutorMap.currentExecutor()will returneventExecutorwhen called from within theRunnableduring execution. - apply(ThreadFactory, EventExecutor) - Static method in class io.netty5.util.internal.ThreadExecutorMap
-
Decorate the given
ThreadFactoryand ensureThreadExecutorMap.currentExecutor()will returneventExecutorwhen called from within theRunnableduring execution. - applyToEither(CompletionStage<? extends V>, Function<? super V, U>) - Method in class io.netty5.util.concurrent.DefaultPromise
- applyToEither(CompletionStage<? extends V>, Function<? super V, U>) - Method in interface io.netty5.util.concurrent.FutureCompletionStage
- applyToEitherAsync(CompletionStage<? extends V>, Function<? super V, U>) - Method in class io.netty5.util.concurrent.DefaultPromise
- applyToEitherAsync(CompletionStage<? extends V>, Function<? super V, U>) - Method in interface io.netty5.util.concurrent.FutureCompletionStage
- applyToEitherAsync(CompletionStage<? extends V>, Function<? super V, U>, Executor) - Method in class io.netty5.util.concurrent.DefaultPromise
- applyToEitherAsync(CompletionStage<? extends V>, Function<? super V, U>, Executor) - Method in interface io.netty5.util.concurrent.FutureCompletionStage
- array() - Method in class io.netty5.util.AsciiString
-
This gives direct access to the underlying storage array.
- arrayFormat(String, Object[]) - Static method in class io.netty5.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. - arrayOffset() - Method in class io.netty5.util.AsciiString
-
The offset into
AsciiString.array()for which data for this ByteString begins. - artifactId() - Method in class io.netty5.util.Version
- artifactVersion() - Method in class io.netty5.util.Version
- AsciiString - Class in io.netty5.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.netty5.util.AsciiString
-
Initialize this byte string based upon a byte array.
- AsciiString(byte[], boolean) - Constructor for class io.netty5.util.AsciiString
-
Initialize this byte string based upon a byte array.
- AsciiString(byte[], int, int, boolean) - Constructor for class io.netty5.util.AsciiString
-
Construct a new instance from a
byte[]array. - AsciiString(char[]) - Constructor for class io.netty5.util.AsciiString
-
Create a copy of
valueinto this instance assuming ASCII encoding. - AsciiString(char[], int, int) - Constructor for class io.netty5.util.AsciiString
-
Create a copy of
valueinto this instance assuming ASCII encoding. - AsciiString(char[], Charset) - Constructor for class io.netty5.util.AsciiString
-
Create a copy of
valueinto this instance using the encoding type ofcharset. - AsciiString(char[], Charset, int, int) - Constructor for class io.netty5.util.AsciiString
-
Create a copy of
valueinto a this instance using the encoding type ofcharset. - AsciiString(CharSequence) - Constructor for class io.netty5.util.AsciiString
-
Create a copy of
valueinto this instance assuming ASCII encoding. - AsciiString(CharSequence, int, int) - Constructor for class io.netty5.util.AsciiString
-
Create a copy of
valueinto this instance assuming ASCII encoding. - AsciiString(CharSequence, Charset) - Constructor for class io.netty5.util.AsciiString
-
Create a copy of
valueinto this instance using the encoding type ofcharset. - AsciiString(CharSequence, Charset, int, int) - Constructor for class io.netty5.util.AsciiString
-
Create a copy of
valueinto this instance using the encoding type ofcharset. - AsciiString(ByteBuffer) - Constructor for class io.netty5.util.AsciiString
-
Create a copy of the underlying storage from
value. - AsciiString(ByteBuffer, boolean) - Constructor for class io.netty5.util.AsciiString
-
Initialize an instance based upon the underlying storage from
value. - AsciiString(ByteBuffer, int, int, boolean) - Constructor for class io.netty5.util.AsciiString
-
Initialize an
AsciiStringbased upon the underlying storage fromvalue. - asFuture() - Method in class io.netty5.util.concurrent.DefaultPromise
- asFuture() - Method in interface io.netty5.util.concurrent.Promise
-
Return the
Futureinstance is associated with this promise. - asMap() - Method in class io.netty5.util.DomainNameMapping
-
Deprecated.Returns a read-only
Mapof the domain mapping patterns and their associated value objects. - asStage() - Method in class io.netty5.util.concurrent.DefaultPromise
- asStage() - Method in interface io.netty5.util.concurrent.Future
-
Returns a
FutureCompletionStagethat reflects the state of thisFutureand so will receive all updates as well. - AsyncMapping<IN,OUT> - Interface in io.netty5.util
- attr(AttributeKey<T>) - Method in interface io.netty5.util.AttributeMap
-
Get the
Attributefor the givenAttributeKey. - attr(AttributeKey<T>) - Method in class io.netty5.util.DefaultAttributeMap
- Attribute<T> - Interface in io.netty5.util
-
An attribute which allows to store a value reference.
- AttributeKey<T> - Class in io.netty5.util
-
Key which can be used to access
Attributeout of theAttributeMap. - AttributeMap - Interface in io.netty5.util
-
Holds
Attributes which can be accessed viaAttributeKey. - autoClosing(Object) - Static method in class io.netty5.util.internal.SilentDispose
-
Return an
AutoCloseablefor the given object, which can be used to dispose of it using a try-with-resources clause. - availableProcessors() - Static method in class io.netty5.util.NettyRuntime
-
Get the configured number of available processors.
- await() - Method in class io.netty5.util.concurrent.DefaultPromise
- await() - Method in interface io.netty5.util.concurrent.FutureCompletionStage
-
Waits for this future to be completed.
- await(long, TimeUnit) - Method in class io.netty5.util.concurrent.DefaultPromise
- await(long, TimeUnit) - Method in interface io.netty5.util.concurrent.FutureCompletionStage
-
Waits for this future to be completed within the specified time limit.
- awaitInactivity(long, TimeUnit) - Method in class io.netty5.util.concurrent.GlobalEventExecutor
-
Waits until the worker thread of this executor has no tasks left in its task queue and terminates itself.
- awaitTermination(long, TimeUnit) - Method in interface io.netty5.util.concurrent.EventExecutorGroup
-
Wait for this
EventExecutorGroupto terminate, up to the given timeout. - awaitTermination(long, TimeUnit) - Method in class io.netty5.util.concurrent.GlobalEventExecutor
- awaitTermination(long, TimeUnit) - Method in class io.netty5.util.concurrent.ImmediateEventExecutor
- awaitTermination(long, TimeUnit) - Method in class io.netty5.util.concurrent.MultithreadEventExecutorGroup
- awaitTermination(long, TimeUnit) - Method in class io.netty5.util.concurrent.NonStickyEventExecutorGroup
- awaitTermination(long, TimeUnit) - Method in class io.netty5.util.concurrent.SingleThreadEventExecutor
- awaitTermination(long, TimeUnit) - Method in class io.netty5.util.concurrent.UnorderedThreadPoolEventExecutor
B
- b2c(byte) - Static method in class io.netty5.util.AsciiString
- backoff(int, long, TimeUnit) - Static method in class io.netty5.util.concurrent.RejectedExecutionHandlers
-
Tries to backoff when the task can not be added due restrictions for an configured amount of time.
- bestAvailableMac() - Static method in class io.netty5.util.internal.MacAddressUtil
-
Obtains the best MAC address found on local network interfaces.
- BIG_ENDIAN_NATIVE_ORDER - Static variable in class io.netty5.util.internal.PlatformDependent
- bind(Socket, SocketAddress) - Static method in class io.netty5.util.internal.SocketUtils
- bind(DatagramChannel, SocketAddress) - Static method in class io.netty5.util.internal.SocketUtils
- bind(SocketChannel, SocketAddress) - Static method in class io.netty5.util.internal.SocketUtils
- bitMode() - Static method in class io.netty5.util.internal.PlatformDependent
-
Returns the bit mode of the current VM (usually 32 or 64.)
- BlockingOperationException - Exception in io.netty5.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.netty5.util.concurrent.BlockingOperationException
- BlockingOperationException(String) - Constructor for exception io.netty5.util.concurrent.BlockingOperationException
- BlockingOperationException(String, Throwable) - Constructor for exception io.netty5.util.concurrent.BlockingOperationException
- BlockingOperationException(Throwable) - Constructor for exception io.netty5.util.concurrent.BlockingOperationException
- build() - Method in class io.netty5.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.netty5.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.netty5.util.DomainWildcardMappingBuilder
-
Creates a new instance of an immutable
Mapping. - buildTimeMillis() - Method in class io.netty5.util.Version
- byteArrayBaseOffset() - Static method in class io.netty5.util.internal.PlatformDependent
- byteAt(int) - Method in class io.netty5.util.AsciiString
- ByteCollections - Class in io.netty5.util.collection
-
Utilities for byte-based primitive collections.
- ByteObjectHashMap<V> - Class in io.netty5.util.collection
-
A hash map implementation of
ByteObjectMapthat uses open addressing for keys. - ByteObjectHashMap() - Constructor for class io.netty5.util.collection.ByteObjectHashMap
- ByteObjectHashMap(int) - Constructor for class io.netty5.util.collection.ByteObjectHashMap
- ByteObjectHashMap(int, float) - Constructor for class io.netty5.util.collection.ByteObjectHashMap
- ByteObjectMap<V> - Interface in io.netty5.util.collection
-
Interface for a primitive map that uses
bytes as keys. - ByteObjectMap.PrimitiveEntry<V> - Interface in io.netty5.util.collection
-
A primitive entry in the map, provided by the iterator from
ByteObjectMap.entries() - ByteProcessor - Interface in io.netty5.util
-
Provides a mechanism to iterate over a collection of bytes.
- ByteProcessor.IndexNotOfProcessor - Class in io.netty5.util
-
A
ByteProcessorwhich finds the first appearance which is not of a specific byte. - ByteProcessor.IndexOfProcessor - Class in io.netty5.util
-
A
ByteProcessorwhich finds the first appearance of a specific byte. - bytesToIpAddress(byte[]) - Static method in class io.netty5.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.netty5.util.NetUtil
-
Converts 4-byte or 16-byte data into an IPv4 or IPv6 string respectively.
- byteToHexString(int) - Static method in class io.netty5.util.internal.StringUtil
-
Converts the specified byte value into a hexadecimal integer.
- byteToHexString(T, int) - Static method in class io.netty5.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.netty5.util.internal.StringUtil
-
Converts the specified byte value into a 2-digit hexadecimal integer.
- byteToHexStringPadded(T, int) - Static method in class io.netty5.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.netty5.util.AsciiString
- cached(String) - Static method in class io.netty5.util.AsciiString
-
Returns an
AsciiStringcontaining the given string and retains/caches the input string for later use inAsciiString.toString(). - cancel() - Method in class io.netty5.util.concurrent.DefaultPromise
- cancel() - Method in interface io.netty5.util.concurrent.FutureCompletionStage
- cancel() - Method in interface io.netty5.util.Timeout
-
Attempts to cancel the
TimerTaskassociated with this handle. - cancel(boolean) - Method in class io.netty5.util.concurrent.DefaultPromise
- cancelScheduledTasks() - Method in class io.netty5.util.concurrent.AbstractScheduledEventExecutor
-
Cancel all scheduled tasks.
- canEnableTcpNoDelayByDefault() - Static method in class io.netty5.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.netty5.util.internal.StringUtil
- cascadeTo(Promise<? super V>) - Method in interface io.netty5.util.concurrent.Future
- CASE_INSENSITIVE_HASHER - Static variable in class io.netty5.util.AsciiString
- CASE_SENSITIVE_HASHER - Static variable in class io.netty5.util.AsciiString
- cause() - Method in class io.netty5.util.concurrent.DefaultPromise
- cause() - Method in interface io.netty5.util.concurrent.FutureCompletionStage
- charAt(int) - Method in class io.netty5.util.AsciiString
- charAt(int) - Method in class io.netty5.util.internal.AppendableCharSequence
- charAtUnsafe(int) - Method in class io.netty5.util.internal.AppendableCharSequence
-
Access a value in this
CharSequence. - CharCollections - Class in io.netty5.util.collection
-
Utilities for char-based primitive collections.
- CharObjectHashMap<V> - Class in io.netty5.util.collection
-
A hash map implementation of
CharObjectMapthat uses open addressing for keys. - CharObjectHashMap() - Constructor for class io.netty5.util.collection.CharObjectHashMap
- CharObjectHashMap(int) - Constructor for class io.netty5.util.collection.CharObjectHashMap
- CharObjectHashMap(int, float) - Constructor for class io.netty5.util.collection.CharObjectHashMap
- CharObjectMap<V> - Interface in io.netty5.util.collection
-
Interface for a primitive map that uses
chars as keys. - CharObjectMap.PrimitiveEntry<V> - Interface in io.netty5.util.collection
-
A primitive entry in the map, provided by the iterator from
CharObjectMap.entries() - CharsetUtil - Class in io.netty5.util
-
A utility class that provides various common operations and constants related with
Charsetand its relevant classes. - checkDeadLock() - Method in class io.netty5.util.concurrent.DefaultPromise
- checkDeadLock(EventExecutor) - Method in class io.netty5.util.concurrent.DefaultPromise
- checkInRange(int, int, int, String) - Static method in class io.netty5.util.internal.ObjectUtil
-
Checks that the given argument is in range.
- checkInRange(long, long, long, String) - Static method in class io.netty5.util.internal.ObjectUtil
-
Checks that the given argument is in range.
- checkNonEmpty(byte[], String) - Static method in class io.netty5.util.internal.ObjectUtil
-
Checks that the given argument is neither null nor empty.
- checkNonEmpty(char[], String) - Static method in class io.netty5.util.internal.ObjectUtil
-
Checks that the given argument is neither null nor empty.
- checkNonEmpty(CharSequence, String) - Static method in class io.netty5.util.internal.ObjectUtil
-
Checks that the given argument is neither null nor empty.
- checkNonEmpty(String, String) - Static method in class io.netty5.util.internal.ObjectUtil
-
Checks that the given argument is neither null nor empty.
- checkNonEmpty(T[], String) - Static method in class io.netty5.util.internal.ObjectUtil
-
Checks that the given argument is neither null nor empty.
- checkNonEmpty(T, String) - Static method in class io.netty5.util.internal.ObjectUtil
-
Checks that the given argument is neither null nor empty.
- checkNonEmptyAfterTrim(String, String) - Static method in class io.netty5.util.internal.ObjectUtil
-
Trims the given argument and checks whether it is neither null nor empty.
- checkNotNullArrayParam(T, int, String) - Static method in class io.netty5.util.internal.ObjectUtil
-
Checks that the given argument is not null.
- checkNotNullWithIAE(T, String) - Static method in class io.netty5.util.internal.ObjectUtil
-
Checks that the given argument is not null.
- checkPositive(double, String) - Static method in class io.netty5.util.internal.ObjectUtil
-
Checks that the given argument is strictly positive.
- checkPositive(float, String) - Static method in class io.netty5.util.internal.ObjectUtil
-
Checks that the given argument is strictly positive.
- checkPositive(int, String) - Static method in class io.netty5.util.internal.ObjectUtil
-
Checks that the given argument is strictly positive.
- checkPositive(long, String) - Static method in class io.netty5.util.internal.ObjectUtil
-
Checks that the given argument is strictly positive.
- checkPositiveOrZero(double, String) - Static method in class io.netty5.util.internal.ObjectUtil
-
Checks that the given argument is positive or zero.
- checkPositiveOrZero(float, String) - Static method in class io.netty5.util.internal.ObjectUtil
-
Checks that the given argument is positive or zero.
- checkPositiveOrZero(int, String) - Static method in class io.netty5.util.internal.ObjectUtil
-
Checks that the given argument is positive or zero.
- checkPositiveOrZero(long, String) - Static method in class io.netty5.util.internal.ObjectUtil
-
Checks that the given argument is positive or zero.
- ClassInitializerUtil - Class in io.netty5.util.internal
-
Utility which ensures that classes are loaded by the
ClassLoader. - cleanup() - Method in class io.netty5.util.concurrent.SingleThreadEventExecutor
-
Do nothing, sub-classes may override.
- clear() - Method in class io.netty5.util.collection.ByteObjectHashMap
- clear() - Method in class io.netty5.util.collection.CharObjectHashMap
- clear() - Method in class io.netty5.util.collection.IntObjectHashMap
- clear() - Method in class io.netty5.util.collection.LongObjectHashMap
- clear() - Method in class io.netty5.util.collection.ShortObjectHashMap
- clear() - Method in class io.netty5.util.internal.DefaultPriorityQueue
- clear() - Method in class io.netty5.util.internal.EmptyPriorityQueue
- clearIgnoringIndexes() - Method in class io.netty5.util.internal.DefaultPriorityQueue
- clearIgnoringIndexes() - Method in class io.netty5.util.internal.EmptyPriorityQueue
- clearIgnoringIndexes() - Method in interface io.netty5.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 class io.netty5.util.internal.SendFromSupplier
- close() - Method in interface io.netty5.util.Resource
-
Close the resource, making it inaccessible.
- close() - Method in interface io.netty5.util.SafeCloseable
- close() - Method in interface io.netty5.util.Send
-
Discard this
Sendand the object it contains. - close(T) - Method in interface io.netty5.util.ResourceLeakTracker
-
Close the leak so that
ResourceLeakTrackerdoes not warn about leaked resources. - COMMA - Static variable in class io.netty5.util.internal.StringUtil
- commitTimeMillis() - Method in class io.netty5.util.Version
- CommonsLoggerFactory - Class in io.netty5.util.internal.logging
-
Deprecated.
- CommonsLoggerFactory() - Constructor for class io.netty5.util.internal.logging.CommonsLoggerFactory
-
Deprecated.Use
CommonsLoggerFactory.INSTANCEinstead. - commonSuffixOfLength(String, String, int) - Static method in class io.netty5.util.internal.StringUtil
-
Checks if two strings have the same suffix of specified length
- compareAndSet(T, T) - Method in interface io.netty5.util.Attribute
-
Atomically sets the value to the given updated value if the current value == the expected value.
- compareTo(CharSequence) - Method in class io.netty5.util.AsciiString
-
Compares the specified string to this string using the ASCII values of the characters.
- compareTo(T) - Method in class io.netty5.util.AbstractConstant
- concat(CharSequence) - Method in class io.netty5.util.AsciiString
-
Concatenates this string and the specified string.
- confirmShutdown() - Method in class io.netty5.util.concurrent.SingleThreadEventExecutor
-
Confirm that the shutdown if the instance should be done now!
- connect(Socket, SocketAddress, int) - Static method in class io.netty5.util.internal.SocketUtils
- connect(SocketChannel, SocketAddress) - Static method in class io.netty5.util.internal.SocketUtils
- Constant<T extends Constant<T>> - Interface in io.netty5.util
-
A singleton which is safe to compare via the
==operator. - ConstantPool<T extends Constant<T>> - Class in io.netty5.util
-
A pool of
Constants. - ConstantPool() - Constructor for class io.netty5.util.ConstantPool
- ConstantTimeUtils - Class in io.netty5.util.internal
- contains(CharSequence) - Method in class io.netty5.util.AsciiString
-
Determines if this
Stringcontains the sequence of characters in theCharSequencepassed. - contains(CharSequence, CharSequence) - Static method in class io.netty5.util.AsciiString
-
Determine if
acontainsbin a case sensitive manner. - contains(Object) - Method in class io.netty5.util.internal.DefaultPriorityQueue
- contains(Object) - Method in class io.netty5.util.internal.EmptyPriorityQueue
- contains(String) - Static method in class io.netty5.util.internal.SystemPropertyUtil
-
Returns
trueif and only if the system property with the specifiedkeyexists. - containsAll(Collection<?>) - Method in class io.netty5.util.internal.EmptyPriorityQueue
- containsAllContentEqualsIgnoreCase(Collection<CharSequence>, Collection<CharSequence>) - Static method in class io.netty5.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.netty5.util.AsciiString
-
Determine if
collectioncontainsvalueand usingAsciiString.contentEqualsIgnoreCase(CharSequence, CharSequence)to compare values. - containsIgnoreCase(CharSequence, CharSequence) - Static method in class io.netty5.util.AsciiString
-
Determine if
acontainsbin a case insensitive manner. - containsKey(byte) - Method in class io.netty5.util.collection.ByteObjectHashMap
- containsKey(byte) - Method in interface io.netty5.util.collection.ByteObjectMap
-
Indicates whether or not this map contains a value for the specified key.
- containsKey(char) - Method in class io.netty5.util.collection.CharObjectHashMap
- containsKey(char) - Method in interface io.netty5.util.collection.CharObjectMap
-
Indicates whether or not this map contains a value for the specified key.
- containsKey(int) - Method in class io.netty5.util.collection.IntObjectHashMap
- containsKey(int) - Method in interface io.netty5.util.collection.IntObjectMap
-
Indicates whether or not this map contains a value for the specified key.
- containsKey(long) - Method in class io.netty5.util.collection.LongObjectHashMap
- containsKey(long) - Method in interface io.netty5.util.collection.LongObjectMap
-
Indicates whether or not this map contains a value for the specified key.
- containsKey(short) - Method in class io.netty5.util.collection.ShortObjectHashMap
- containsKey(short) - Method in interface io.netty5.util.collection.ShortObjectMap
-
Indicates whether or not this map contains a value for the specified key.
- containsKey(Object) - Method in class io.netty5.util.collection.ByteObjectHashMap
- containsKey(Object) - Method in class io.netty5.util.collection.CharObjectHashMap
- containsKey(Object) - Method in class io.netty5.util.collection.IntObjectHashMap
- containsKey(Object) - Method in class io.netty5.util.collection.LongObjectHashMap
- containsKey(Object) - Method in class io.netty5.util.collection.ShortObjectHashMap
- containsTyped(T) - Method in class io.netty5.util.internal.DefaultPriorityQueue
- containsTyped(T) - Method in class io.netty5.util.internal.EmptyPriorityQueue
- containsTyped(T) - Method in interface io.netty5.util.internal.PriorityQueue
-
Same as
Collection.contains(Object)but typed using generics. - containsValue(Object) - Method in class io.netty5.util.collection.ByteObjectHashMap
- containsValue(Object) - Method in class io.netty5.util.collection.CharObjectHashMap
- containsValue(Object) - Method in class io.netty5.util.collection.IntObjectHashMap
- containsValue(Object) - Method in class io.netty5.util.collection.LongObjectHashMap
- containsValue(Object) - Method in class io.netty5.util.collection.ShortObjectHashMap
- contentEquals(CharSequence) - Method in class io.netty5.util.AsciiString
-
Compares a
CharSequenceto thisStringto determine if their contents are equal. - contentEquals(CharSequence, CharSequence) - Static method in class io.netty5.util.AsciiString
-
Returns
trueif the content of bothCharSequence's are equals. - contentEqualsIgnoreCase(CharSequence) - Method in class io.netty5.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.netty5.util.AsciiString
-
Returns
trueif bothCharSequence's are equals when ignore the case. - copy(int, byte[], int, int) - Method in class io.netty5.util.AsciiString
-
Copies the content of this string to a byte array.
- copy(int, char[], int, int) - Method in class io.netty5.util.AsciiString
-
Copied the content of this string to a character array.
- copyMemory(byte[], int, byte[], int, long) - Static method in class io.netty5.util.internal.PlatformDependent
- copyMemory(byte[], int, long, long) - Static method in class io.netty5.util.internal.PlatformDependent
- copyMemory(long, byte[], int, long) - Static method in class io.netty5.util.internal.PlatformDependent
- copyMemory(long, long, long) - Static method in class io.netty5.util.internal.PlatformDependent
- copyMemory(Object, long, Object, long, long) - Static method in class io.netty5.util.internal.PlatformDependent
- createByteArrayFromIpAddressString(String) - Static method in class io.netty5.util.NetUtil
-
Creates an byte[] based on an ipAddressString.
- createInetAddressFromIpAddressString(String) - Static method in class io.netty5.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.netty5.util.internal.PlatformDependent
- currentExecutor() - Static method in class io.netty5.util.internal.ThreadExecutorMap
D
- deadlineNanos() - Method in interface io.netty5.util.concurrent.RunnableScheduledFuture
-
Returns the deadline in nanos when the
Runnable.run()method should be called again. - deadlineNanos() - Method in class io.netty5.util.concurrent.SingleThreadEventExecutor
-
Returns the absolute point in time (relative to
AbstractScheduledEventExecutor.getCurrentTimeNanos()()}) at which the next closest scheduled task should run or-1if none is scheduled at the mment. - deallocate() - Method in class io.netty5.util.AbstractReferenceCounted
-
Called once
AbstractReferenceCounted.refCnt()is equals 0. - debug(String) - Method in interface io.netty5.util.internal.logging.InternalLogger
-
Log a message at the DEBUG level.
- debug(String, Object) - Method in interface io.netty5.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.netty5.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.netty5.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.netty5.util.internal.logging.InternalLogger
-
Log an exception (throwable) at the DEBUG level with an accompanying message.
- debug(Throwable) - Method in class io.netty5.util.internal.logging.AbstractInternalLogger
- debug(Throwable) - Method in interface io.netty5.util.internal.logging.InternalLogger
-
Log an exception (throwable) at the DEBUG level.
- DEBUG - io.netty5.util.internal.logging.InternalLogLevel
-
'DEBUG' log level.
- decodeHexByte(CharSequence, int) - Static method in class io.netty5.util.internal.StringUtil
-
Decode a 2-digit hex byte from within a string.
- decodeHexDump(CharSequence) - Static method in class io.netty5.util.internal.StringUtil
-
Decodes a hex dump
- decodeHexDump(CharSequence, int, int) - Static method in class io.netty5.util.internal.StringUtil
-
Decodes part of a string with hex dump
- decodeHexNibble(char) - Static method in class io.netty5.util.internal.StringUtil
-
Helper to decode half of a hexadecimal number from a string.
- decoder(Charset) - Static method in class io.netty5.util.CharsetUtil
-
Returns a cached thread-local
CharsetDecoderfor the specifiedCharset. - decoder(Charset, CodingErrorAction) - Static method in class io.netty5.util.CharsetUtil
-
Returns a new
CharsetDecoderfor theCharsetwith the specified error action. - decoder(Charset, CodingErrorAction, CodingErrorAction) - Static method in class io.netty5.util.CharsetUtil
-
Returns a new
CharsetDecoderfor theCharsetwith specified error actions. - deepCheckNotNull(String, T...) - Static method in class io.netty5.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.netty5.util.collection.ByteObjectHashMap
-
Default initial capacity.
- DEFAULT_CAPACITY - Static variable in class io.netty5.util.collection.CharObjectHashMap
-
Default initial capacity.
- DEFAULT_CAPACITY - Static variable in class io.netty5.util.collection.IntObjectHashMap
-
Default initial capacity.
- DEFAULT_CAPACITY - Static variable in class io.netty5.util.collection.LongObjectHashMap
-
Default initial capacity.
- DEFAULT_CAPACITY - Static variable in class io.netty5.util.collection.ShortObjectHashMap
-
Default initial capacity.
- DEFAULT_LOAD_FACTOR - Static variable in class io.netty5.util.collection.ByteObjectHashMap
-
Default load factor.
- DEFAULT_LOAD_FACTOR - Static variable in class io.netty5.util.collection.CharObjectHashMap
-
Default load factor.
- DEFAULT_LOAD_FACTOR - Static variable in class io.netty5.util.collection.IntObjectHashMap
-
Default load factor.
- DEFAULT_LOAD_FACTOR - Static variable in class io.netty5.util.collection.LongObjectHashMap
-
Default load factor.
- DEFAULT_LOAD_FACTOR - Static variable in class io.netty5.util.collection.ShortObjectHashMap
-
Default load factor.
- DEFAULT_MAX_PENDING_EXECUTOR_TASKS - Static variable in class io.netty5.util.concurrent.SingleThreadEventExecutor
- DefaultAttributeMap - Class in io.netty5.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.netty5.util.DefaultAttributeMap
- DefaultEventExecutorGroup - Class in io.netty5.util.concurrent
-
Default implementation of
MultithreadEventExecutorGroupwhich will useSingleThreadEventExecutorinstances to handle the tasks. - DefaultEventExecutorGroup(int) - Constructor for class io.netty5.util.concurrent.DefaultEventExecutorGroup
- DefaultEventExecutorGroup(int, ThreadFactory) - Constructor for class io.netty5.util.concurrent.DefaultEventExecutorGroup
-
Create a new instance.
- DefaultEventExecutorGroup(int, ThreadFactory, int, RejectedExecutionHandler) - Constructor for class io.netty5.util.concurrent.DefaultEventExecutorGroup
-
Create a new instance.
- defaultMachineId() - Static method in class io.netty5.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.netty5.util.internal
-
A priority queue which uses natural ordering of elements.
- DefaultPriorityQueue(Comparator<T>, int) - Constructor for class io.netty5.util.internal.DefaultPriorityQueue
- DefaultPromise<V> - Class in io.netty5.util.concurrent
- DefaultPromise(EventExecutor) - Constructor for class io.netty5.util.concurrent.DefaultPromise
-
Creates a new unfulfilled promise.
- DefaultThreadFactory - Class in io.netty5.util.concurrent
-
A
ThreadFactoryimplementation with a simple naming rule. - DefaultThreadFactory(Class<?>) - Constructor for class io.netty5.util.concurrent.DefaultThreadFactory
- DefaultThreadFactory(Class<?>, boolean) - Constructor for class io.netty5.util.concurrent.DefaultThreadFactory
- DefaultThreadFactory(Class<?>, boolean, int) - Constructor for class io.netty5.util.concurrent.DefaultThreadFactory
- DefaultThreadFactory(Class<?>, int) - Constructor for class io.netty5.util.concurrent.DefaultThreadFactory
- DefaultThreadFactory(String) - Constructor for class io.netty5.util.concurrent.DefaultThreadFactory
- DefaultThreadFactory(String, boolean) - Constructor for class io.netty5.util.concurrent.DefaultThreadFactory
- DefaultThreadFactory(String, boolean, int) - Constructor for class io.netty5.util.concurrent.DefaultThreadFactory
- DefaultThreadFactory(String, boolean, int, ThreadGroup) - Constructor for class io.netty5.util.concurrent.DefaultThreadFactory
- DefaultThreadFactory(String, int) - Constructor for class io.netty5.util.concurrent.DefaultThreadFactory
- delayNanos() - Method in interface io.netty5.util.concurrent.RunnableScheduledFuture
-
Returns the delay in nanos when the
Runnable.run()method should be called again. - delayNanos(long) - Method in interface io.netty5.util.concurrent.RunnableScheduledFuture
-
Returns the delay in nanos (taking the given
currentTimeNanosinto account) when theRunnable.run()method should be called again. - delayNanos(long) - Method in class io.netty5.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.netty5.util.concurrent.FastThreadLocal
-
Destroys the data structure that keeps all
FastThreadLocalvariables accessed from non-FastThreadLocalThreads. - directBuffer(long, int, Object) - Static method in class io.netty5.util.internal.PlatformDependent
- directBufferAddress(ByteBuffer) - Static method in class io.netty5.util.internal.PlatformDependent
- directBufferPreferred() - Static method in class io.netty5.util.internal.PlatformDependent
-
Returns
trueif the platform has reliable low-level direct buffer access API and a user has not specified-Dio.netty5.noPreferDirectoption. - DISABLED - io.netty5.util.ResourceLeakDetector.Level
-
Disables resource leak detection.
- dispose(Object) - Static method in interface io.netty5.util.Resource
-
Attempt to dispose of whatever the given object is.
- dispose(Object, InternalLogger) - Static method in class io.netty5.util.internal.SilentDispose
-
Attempt to dispose of whatever the given object is.
- DomainMappingBuilder<V> - Class in io.netty5.util
-
Deprecated.Use
DomainWildcardMappingBuilderinstead. - DomainMappingBuilder(int, V) - Constructor for class io.netty5.util.DomainMappingBuilder
-
Deprecated.Constructor with initial capacity of the map holding the mappings
- DomainMappingBuilder(V) - Constructor for class io.netty5.util.DomainMappingBuilder
-
Deprecated.Constructor with default initial capacity of the map holding the mappings
- DomainNameMapping<V> - Class in io.netty5.util
-
Deprecated.
- DomainNameMapping(int, V) - Constructor for class io.netty5.util.DomainNameMapping
-
Deprecated.use
DomainNameMappingBuilderto create and fill the mapping instead - DomainNameMapping(V) - Constructor for class io.netty5.util.DomainNameMapping
-
Deprecated.use
DomainNameMappingBuilderto create and fill the mapping instead - DomainNameMappingBuilder<V> - Class in io.netty5.util
-
Deprecated.
- DomainNameMappingBuilder(int, V) - Constructor for class io.netty5.util.DomainNameMappingBuilder
-
Deprecated.Constructor with initial capacity of the map holding the mappings
- DomainNameMappingBuilder(V) - Constructor for class io.netty5.util.DomainNameMappingBuilder
-
Deprecated.Constructor with default initial capacity of the map holding the mappings
- DomainWildcardMappingBuilder<V> - Class in io.netty5.util
-
Builder that allows to build
Mappings that support DNS wildcard matching. - DomainWildcardMappingBuilder(int, V) - Constructor for class io.netty5.util.DomainWildcardMappingBuilder
-
Constructor with initial capacity of the map holding the mappings
- DomainWildcardMappingBuilder(V) - Constructor for class io.netty5.util.DomainWildcardMappingBuilder
-
Constructor with default initial capacity of the map holding the mappings
- DOUBLE_QUOTE - Static variable in class io.netty5.util.internal.StringUtil
E
- element() - Method in class io.netty5.util.internal.EmptyPriorityQueue
- EMPTY_ASCII_STRINGS - Static variable in class io.netty5.util.internal.EmptyArrays
- EMPTY_BYTE_BUFFERS - Static variable in class io.netty5.util.internal.EmptyArrays
- EMPTY_BYTES - Static variable in class io.netty5.util.internal.EmptyArrays
- EMPTY_BYTES_BYTES - Static variable in class io.netty5.util.internal.EmptyArrays
- EMPTY_CERTIFICATES - Static variable in class io.netty5.util.internal.EmptyArrays
- EMPTY_CHARS - Static variable in class io.netty5.util.internal.EmptyArrays
- EMPTY_CLASSES - Static variable in class io.netty5.util.internal.EmptyArrays
- EMPTY_INTS - Static variable in class io.netty5.util.internal.EmptyArrays
- EMPTY_JAVAX_X509_CERTIFICATES - Static variable in class io.netty5.util.internal.EmptyArrays
- EMPTY_OBJECTS - Static variable in class io.netty5.util.internal.EmptyArrays
- EMPTY_STACK_TRACE - Static variable in class io.netty5.util.internal.EmptyArrays
- EMPTY_STRING - Static variable in class io.netty5.util.AsciiString
- EMPTY_STRING - Static variable in class io.netty5.util.internal.StringUtil
- EMPTY_STRINGS - Static variable in class io.netty5.util.internal.EmptyArrays
- EMPTY_X509_CERTIFICATES - Static variable in class io.netty5.util.internal.EmptyArrays
- EmptyArrays - Class in io.netty5.util.internal
- emptyMap() - Static method in class io.netty5.util.collection.ByteCollections
-
Returns an unmodifiable empty
ByteObjectMap. - emptyMap() - Static method in class io.netty5.util.collection.CharCollections
-
Returns an unmodifiable empty
CharObjectMap. - emptyMap() - Static method in class io.netty5.util.collection.IntCollections
-
Returns an unmodifiable empty
IntObjectMap. - emptyMap() - Static method in class io.netty5.util.collection.LongCollections
-
Returns an unmodifiable empty
LongObjectMap. - emptyMap() - Static method in class io.netty5.util.collection.ShortCollections
-
Returns an unmodifiable empty
ShortObjectMap. - EmptyPriorityQueue<T> - Class in io.netty5.util.internal
- encoder(Charset) - Static method in class io.netty5.util.CharsetUtil
-
Returns a cached thread-local
CharsetEncoderfor the specifiedCharset. - encoder(Charset, CodingErrorAction) - Static method in class io.netty5.util.CharsetUtil
-
Returns a new
CharsetEncoderfor theCharsetwith the specified error action. - encoder(Charset, CodingErrorAction, CodingErrorAction) - Static method in class io.netty5.util.CharsetUtil
-
Returns a new
CharsetEncoderfor theCharsetwith specified error actions. - endsWith(CharSequence) - Method in class io.netty5.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.netty5.util.internal.StringUtil
-
Determine if the string
sends with the charc. - entries() - Method in class io.netty5.util.collection.ByteObjectHashMap
- entries() - Method in interface io.netty5.util.collection.ByteObjectMap
-
Gets an iterable to traverse over the primitive entries contained in this map.
- entries() - Method in class io.netty5.util.collection.CharObjectHashMap
- entries() - Method in interface io.netty5.util.collection.CharObjectMap
-
Gets an iterable to traverse over the primitive entries contained in this map.
- entries() - Method in class io.netty5.util.collection.IntObjectHashMap
- entries() - Method in interface io.netty5.util.collection.IntObjectMap
-
Gets an iterable to traverse over the primitive entries contained in this map.
- entries() - Method in class io.netty5.util.collection.LongObjectHashMap
- entries() - Method in interface io.netty5.util.collection.LongObjectMap
-
Gets an iterable to traverse over the primitive entries contained in this map.
- entries() - Method in class io.netty5.util.collection.ShortObjectHashMap
- entries() - Method in interface io.netty5.util.collection.ShortObjectMap
-
Gets an iterable to traverse over the primitive entries contained in this map.
- entrySet() - Method in class io.netty5.util.collection.ByteObjectHashMap
- entrySet() - Method in class io.netty5.util.collection.CharObjectHashMap
- entrySet() - Method in class io.netty5.util.collection.IntObjectHashMap
- entrySet() - Method in class io.netty5.util.collection.LongObjectHashMap
- entrySet() - Method in class io.netty5.util.collection.ShortObjectHashMap
- equals(byte[], int, byte[], int, int) - Static method in class io.netty5.util.internal.PlatformDependent
-
Compare two
bytearrays for equality. - equals(Object) - Method in class io.netty5.util.AbstractConstant
- equals(Object) - Method in class io.netty5.util.AsciiString
- equals(Object) - Method in class io.netty5.util.collection.ByteObjectHashMap
- equals(Object) - Method in class io.netty5.util.collection.CharObjectHashMap
- equals(Object) - Method in class io.netty5.util.collection.IntObjectHashMap
- equals(Object) - Method in class io.netty5.util.collection.LongObjectHashMap
- equals(Object) - Method in class io.netty5.util.collection.ShortObjectHashMap
- equals(Object) - Method in class io.netty5.util.internal.EmptyPriorityQueue
- equals(T, T) - Method in interface io.netty5.util.HashingStrategy
-
Returns
trueif the arguments are equal to each other andfalseotherwise. - equalsConstantTime(byte[], int, byte[], int, int) - Static method in class io.netty5.util.internal.ConstantTimeUtils
-
Compare two
bytearrays for equality without leaking timing information. - equalsConstantTime(byte[], int, byte[], int, int) - Static method in class io.netty5.util.internal.PlatformDependent
-
Compare two
bytearrays for equality without leaking timing information. - equalsConstantTime(int, int) - Static method in class io.netty5.util.internal.ConstantTimeUtils
-
Compare two
ints without leaking timing information. - equalsConstantTime(long, long) - Static method in class io.netty5.util.internal.ConstantTimeUtils
-
Compare two
longss without leaking timing information. - equalsConstantTime(AsciiString) - Method in class io.netty5.util.AsciiString
-
Check if this ascii string is equal to the other ascii string, but do so in constant time for any given length.
- equalsConstantTime(CharSequence, CharSequence) - Static method in class io.netty5.util.internal.ConstantTimeUtils
-
Compare two
CharSequenceobjects without leaking timing information. - error(String) - Method in interface io.netty5.util.internal.logging.InternalLogger
-
Log a message at the ERROR level.
- error(String, Object) - Method in interface io.netty5.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.netty5.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.netty5.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.netty5.util.internal.logging.InternalLogger
-
Log an exception (throwable) at the ERROR level with an accompanying message.
- error(Throwable) - Method in class io.netty5.util.internal.logging.AbstractInternalLogger
- error(Throwable) - Method in interface io.netty5.util.internal.logging.InternalLogger
-
Log an exception (throwable) at the ERROR level.
- ERROR - io.netty5.util.internal.logging.InternalLogLevel
-
'ERROR' log level.
- escapeCsv(CharSequence) - Static method in class io.netty5.util.internal.StringUtil
-
Escapes the specified value, if necessary according to RFC-4180.
- escapeCsv(CharSequence, boolean) - Static method in class io.netty5.util.internal.StringUtil
-
Escapes the specified value, if necessary according to RFC-4180.
- estimateMaxDirectMemory() - Static method in class io.netty5.util.internal.PlatformDependent
-
Compute an estimate of the maximum amount of direct memory available to this JVM.
- EventExecutor - Interface in io.netty5.util.concurrent
-
The
EventExecutoris a specialEventExecutorGroupwhich comes with some handy methods to see if aThreadis executed in a event loop. - EventExecutorGroup - Interface in io.netty5.util.concurrent
-
The
EventExecutorGroupis responsible for providing theEventExecutor's to use via itsEventExecutorGroup.next()method. - exceptionally(Function<Throwable, ? extends V>) - Method in class io.netty5.util.concurrent.DefaultPromise
- exceptionally(Function<Throwable, ? extends V>) - Method in interface io.netty5.util.concurrent.FutureCompletionStage
- execute(Runnable) - Method in interface io.netty5.util.concurrent.EventExecutor
- execute(Runnable) - Method in interface io.netty5.util.concurrent.EventExecutorGroup
- execute(Runnable) - Method in class io.netty5.util.concurrent.GlobalEventExecutor
- execute(Runnable) - Method in class io.netty5.util.concurrent.ImmediateEventExecutor
- execute(Runnable) - Method in class io.netty5.util.concurrent.ImmediateExecutor
- execute(Runnable) - Method in class io.netty5.util.concurrent.NonStickyEventExecutorGroup
- execute(Runnable) - Method in class io.netty5.util.concurrent.SingleThreadEventExecutor
- execute(Runnable) - Method in class io.netty5.util.concurrent.ThreadPerTaskExecutor
- execute(Runnable) - Method in class io.netty5.util.concurrent.UnorderedThreadPoolEventExecutor
- executor() - Method in class io.netty5.util.concurrent.DefaultPromise
-
Get the executor used to notify listeners when this promise is complete.
- executor() - Method in interface io.netty5.util.concurrent.FutureCompletionStage
- executorCount() - Method in class io.netty5.util.concurrent.MultithreadEventExecutorGroup
-
Return the number of
EventExecutorthis implementation uses. - executors() - Method in class io.netty5.util.concurrent.MultithreadEventExecutorGroup
-
The
EventExecutors that are used by thisMultithreadEventExecutorGroup. - exists(String) - Static method in class io.netty5.util.AttributeKey
- exists(String) - Method in class io.netty5.util.ConstantPool
F
- failAndRecycle(Throwable) - Method in class io.netty5.util.internal.PendingWrite
-
Fails the underlying
Promisewith the given cause and recycle this instance. - family(Class<? extends InetAddress>) - Static method in class io.netty5.util.NetUtil
-
Returns the
ProtocolFamilyfor the given address type. - family(InetAddress) - Static method in class io.netty5.util.NetUtil
-
Returns the
ProtocolFamilyfor the givenInetAddress. - FastThreadLocal<V> - Class in io.netty5.util.concurrent
-
A special variant of
ThreadLocalthat yields higher access performance when accessed from aFastThreadLocalThread. - FastThreadLocal() - Constructor for class io.netty5.util.concurrent.FastThreadLocal
- FastThreadLocalThread - Class in io.netty5.util.concurrent
-
A special
Threadthat provides fast access toFastThreadLocalvariables. - FastThreadLocalThread() - Constructor for class io.netty5.util.concurrent.FastThreadLocalThread
- FastThreadLocalThread(Runnable) - Constructor for class io.netty5.util.concurrent.FastThreadLocalThread
- FastThreadLocalThread(Runnable, String) - Constructor for class io.netty5.util.concurrent.FastThreadLocalThread
- FastThreadLocalThread(String) - Constructor for class io.netty5.util.concurrent.FastThreadLocalThread
- FastThreadLocalThread(ThreadGroup, Runnable) - Constructor for class io.netty5.util.concurrent.FastThreadLocalThread
- FastThreadLocalThread(ThreadGroup, Runnable, String) - Constructor for class io.netty5.util.concurrent.FastThreadLocalThread
- FastThreadLocalThread(ThreadGroup, Runnable, String, long) - Constructor for class io.netty5.util.concurrent.FastThreadLocalThread
- FastThreadLocalThread(ThreadGroup, String) - Constructor for class io.netty5.util.concurrent.FastThreadLocalThread
- finalize() - Method in class io.netty5.util.HashedWheelTimer
- find(Object, Class<?>, String) - Static method in class io.netty5.util.internal.TypeParameterMatcher
- FIND_ASCII_SPACE - Static variable in interface io.netty5.util.ByteProcessor
-
Aborts on a ascii space character (
' '). - FIND_COMMA - Static variable in interface io.netty5.util.ByteProcessor
-
Aborts on a comma
(','). - FIND_CR - Static variable in interface io.netty5.util.ByteProcessor
-
Aborts on a
CR ('\r'). - FIND_CRLF - Static variable in interface io.netty5.util.ByteProcessor
-
Aborts on a
CR ('\r')or aLF ('\n'). - FIND_LF - Static variable in interface io.netty5.util.ByteProcessor
-
Aborts on a
LF ('\n'). - FIND_LINEAR_WHITESPACE - Static variable in interface io.netty5.util.ByteProcessor
-
Aborts on a linear whitespace (a (
' 'or a'\t'). - FIND_NON_CR - Static variable in interface io.netty5.util.ByteProcessor
-
Aborts on a non-
CR ('\r'). - FIND_NON_CRLF - Static variable in interface io.netty5.util.ByteProcessor
-
Aborts on a byte which is neither a
CR ('\r')nor aLF ('\n'). - FIND_NON_LF - Static variable in interface io.netty5.util.ByteProcessor
-
Aborts on a non-
LF ('\n'). - FIND_NON_LINEAR_WHITESPACE - Static variable in interface io.netty5.util.ByteProcessor
-
Aborts on a byte which is not a linear whitespace (neither
' 'nor'\t'). - FIND_NON_NUL - Static variable in interface io.netty5.util.ByteProcessor
-
Aborts on a non-
NUL (0x00). - FIND_NUL - Static variable in interface io.netty5.util.ByteProcessor
-
Aborts on a
NUL (0x00). - FIND_SEMI_COLON - Static variable in interface io.netty5.util.ByteProcessor
-
Aborts on a semicolon
(';'). - findNextPositivePowerOfTwo(int) - Static method in class io.netty5.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.netty5.util.concurrent.PromiseCombiner
-
Sets the promise to be notified when all combined futures have finished.
- flatMap(Function<V, Future<R>>) - Method in interface io.netty5.util.concurrent.Future
- forEachByte(int, int, ByteProcessor) - Method in class io.netty5.util.AsciiString
-
Iterates over the specified area of this buffer with the specified
processorin ascending order. - forEachByte(ByteProcessor) - Method in class io.netty5.util.AsciiString
-
Iterates over the readable bytes of this buffer with the specified
processorin ascending order. - forEachByteDesc(int, int, ByteProcessor) - Method in class io.netty5.util.AsciiString
-
Iterates over the specified area of this buffer with the specified
processorin descending order. - forEachByteDesc(ByteProcessor) - Method in class io.netty5.util.AsciiString
-
Iterates over the readable bytes of this buffer with the specified
processorin descending order. - format(String, Object) - Static method in class io.netty5.util.internal.logging.MessageFormatter
-
Performs single argument substitution for the 'messagePattern' passed as parameter.
- format(String, Object, Object) - Static method in class io.netty5.util.internal.logging.MessageFormatter
-
Performs a two argument substitution for the 'messagePattern' passed as parameter.
- formatAddress(byte[]) - Static method in class io.netty5.util.internal.MacAddressUtil
- FormattingTuple - Class in io.netty5.util.internal.logging
-
Holds the results of formatting done by
MessageFormatter. - FormattingTuple(String, Throwable) - Constructor for class io.netty5.util.internal.logging.FormattingTuple
- freeDirectBuffer(ByteBuffer) - Static method in class io.netty5.util.internal.PlatformDependent
-
Try to deallocate the specified direct
ByteBuffer. - freeDirectNoCleaner(ByteBuffer) - Static method in class io.netty5.util.internal.PlatformDependent
-
This method MUST only be called for
ByteBuffers that were allocated viaPlatformDependent.allocateDirectNoCleaner(int). - freeMemory(long) - Static method in class io.netty5.util.internal.PlatformDependent
- future() - Method in class io.netty5.util.concurrent.DefaultPromise
- future() - Method in interface io.netty5.util.concurrent.FutureCompletionStage
-
Returns the underlying
Futureof thisFutureCompletionStage. - Future<V> - Interface in io.netty5.util.concurrent
-
The result of an asynchronous operation.
- FutureCompletionStage<V> - Interface in io.netty5.util.concurrent
-
A
CompletionStagethat provides the same threading semantics and guarantees as the underlyingFuture, which means that all the callbacks will be executed byFutureCompletionStage.executor()if not specified otherwise (by calling the corresponding *Async methods). - FutureContextListener<C,V> - Interface in io.netty5.util.concurrent
-
Listens to the result of a
Future. - FutureListener<V> - Interface in io.netty5.util.concurrent
-
Listens to the result of a
Future. - FuturePromiseFactory - Interface in io.netty5.util.concurrent
G
- get() - Method in interface io.netty5.util.Attribute
-
Returns the current value, which may be
null - get() - Method in class io.netty5.util.concurrent.DefaultPromise
- get() - Method in class io.netty5.util.concurrent.FastThreadLocal
-
Returns the current value for the current thread
- get() - Method in class io.netty5.util.internal.ObjectPool
-
Get a
Objectfrom theObjectPool. - get() - Method in class io.netty5.util.Recycler
- get(byte) - Method in class io.netty5.util.collection.ByteObjectHashMap
- get(byte) - Method in interface io.netty5.util.collection.ByteObjectMap
-
Gets the value in the map with the specified key.
- get(char) - Method in class io.netty5.util.collection.CharObjectHashMap
- get(char) - Method in interface io.netty5.util.collection.CharObjectMap
-
Gets the value in the map with the specified key.
- get(int) - Method in class io.netty5.util.collection.IntObjectHashMap
- get(int) - Method in interface io.netty5.util.collection.IntObjectMap
-
Gets the value in the map with the specified key.
- get(long) - Method in class io.netty5.util.collection.LongObjectHashMap
- get(long) - Method in interface io.netty5.util.collection.LongObjectMap
-
Gets the value in the map with the specified key.
- get(long) - Method in class io.netty5.util.internal.LongLongHashMap
- get(long, TimeUnit) - Method in class io.netty5.util.concurrent.DefaultPromise
- get(short) - Method in class io.netty5.util.collection.ShortObjectHashMap
- get(short) - Method in interface io.netty5.util.collection.ShortObjectMap
-
Gets the value in the map with the specified key.
- get(Class<?>) - Static method in class io.netty5.util.internal.TypeParameterMatcher
- get(Object) - Method in class io.netty5.util.collection.ByteObjectHashMap
- get(Object) - Method in class io.netty5.util.collection.CharObjectHashMap
- get(Object) - Method in class io.netty5.util.collection.IntObjectHashMap
- get(Object) - Method in class io.netty5.util.collection.LongObjectHashMap
- get(Object) - Method in class io.netty5.util.collection.ShortObjectHashMap
- get(String) - Static method in class io.netty5.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.netty5.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.netty5.util.Attribute
-
Deprecated.please consider using
Attribute.getAndSet(Object)(with value ofnull). - getAndSet(T) - Method in interface io.netty5.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.netty5.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.netty5.util.NetUtil
-
Returns the
Inet6Addressrepresentation of aCharSequenceIP address. - getByName(CharSequence, boolean) - Static method in class io.netty5.util.NetUtil
-
Returns the
Inet6Addressrepresentation of aCharSequenceIP address. - getByte(byte[], int) - Static method in class io.netty5.util.internal.PlatformDependent
- getByte(byte[], long) - Static method in class io.netty5.util.internal.PlatformDependent
- getByte(long) - Static method in class io.netty5.util.internal.PlatformDependent
- getByte(Object, long) - Static method in class io.netty5.util.internal.PlatformDependent
- getCause() - Method in interface io.netty5.util.concurrent.FutureCompletionStage
-
Wait for the future to complete, and return the cause if it failed, or
nullif it succeeded. - getChar(Object, long) - Static method in class io.netty5.util.internal.PlatformDependent
- getClassLoader(Class<?>) - Static method in class io.netty5.util.internal.PlatformDependent
-
Return the
ClassLoaderfor the givenClass. - getContextClassLoader() - Static method in class io.netty5.util.internal.PlatformDependent
-
Return the context
ClassLoaderfor the currentThread. - getCurrentTimeNanos() - Method in class io.netty5.util.concurrent.AbstractScheduledEventExecutor
-
Get the current time in nanoseconds by this executor's clock.
- getDecoder(Charset) - Static method in class io.netty5.util.CharsetUtil
-
Deprecated.
- getDefaultFactory() - Static method in class io.netty5.util.internal.logging.InternalLoggerFactory
-
Get the default factory that was either initialized automatically based on logging implementations on the classpath, or set explicitly via
InternalLoggerFactory.setDefaultFactory(InternalLoggerFactory). - getDouble(Object, long) - Static method in class io.netty5.util.internal.PlatformDependent
- getEncoder(Charset) - Static method in class io.netty5.util.CharsetUtil
-
Deprecated.
- getFile(Class, String) - Static method in class io.netty5.util.internal.ResourcesUtil
- getFloat(Object, long) - Static method in class io.netty5.util.internal.PlatformDependent
- getHostname(InetSocketAddress) - Static method in class io.netty5.util.NetUtil
-
Returns
InetSocketAddress.getHostString()if Java >= 7, orInetSocketAddress.getHostName()otherwise. - getIfExists() - Method in class io.netty5.util.concurrent.FastThreadLocal
-
Returns the current value for the current thread if it exists,
nullotherwise. - getInitialHint(String) - Method in class io.netty5.util.ResourceLeakDetector
-
Create a hint object to be attached to an object tracked by this record.
- getInstance(Class<?>) - Static method in class io.netty5.util.internal.logging.InternalLoggerFactory
-
Creates a new logger instance with the name of the specified class.
- getInstance(String) - Static method in class io.netty5.util.internal.logging.InternalLoggerFactory
-
Creates a new logger instance with the specified name.
- getInt(byte[], int) - Static method in class io.netty5.util.internal.PlatformDependent
- getInt(int[], long) - Static method in class io.netty5.util.internal.PlatformDependent
- getInt(long) - Static method in class io.netty5.util.internal.PlatformDependent
- getInt(Object, long) - Static method in class io.netty5.util.internal.PlatformDependent
- getInt(String, int) - Static method in class io.netty5.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.netty5.util.internal.PlatformDependent
- getLevel() - Static method in class io.netty5.util.ResourceLeakDetector
-
Returns the current resource leak detection level.
- getLong(byte[], int) - Static method in class io.netty5.util.internal.PlatformDependent
- getLong(long) - Static method in class io.netty5.util.internal.PlatformDependent
- getLong(long[], long) - Static method in class io.netty5.util.internal.PlatformDependent
- getLong(Object, long) - Static method in class io.netty5.util.internal.PlatformDependent
- getLong(String, long) - Static method in class io.netty5.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.netty5.util.internal.logging.FormattingTuple
- getNow() - Method in class io.netty5.util.concurrent.DefaultPromise
- getNow() - Method in interface io.netty5.util.concurrent.FutureCompletionStage
- getObject(Object, long) - Static method in class io.netty5.util.internal.PlatformDependent
- getShort(byte[], int) - Static method in class io.netty5.util.internal.PlatformDependent
- getShort(long) - Static method in class io.netty5.util.internal.PlatformDependent
- getShort(Object, long) - Static method in class io.netty5.util.internal.PlatformDependent
- getSystemClassLoader() - Static method in class io.netty5.util.internal.PlatformDependent
-
Return the system
ClassLoader. - getThrowable() - Method in class io.netty5.util.internal.logging.FormattingTuple
- getUnsafeOffset(Class<? extends ReferenceCounted>, String) - Static method in class io.netty5.util.internal.ReferenceCountUpdater
- getUnsafeUnavailabilityCause() - Static method in class io.netty5.util.internal.PlatformDependent
-
Return the reason (if any) why
sun.misc.Unsafewas not available. - GlobalEventExecutor - Class in io.netty5.util.concurrent
-
Single-thread singleton
EventExecutor.
H
- handle(BiFunction<? super V, Throwable, ? extends U>) - Method in class io.netty5.util.concurrent.DefaultPromise
- handle(BiFunction<? super V, Throwable, ? extends U>) - Method in interface io.netty5.util.concurrent.FutureCompletionStage
- handleAsync(BiFunction<? super V, Throwable, ? extends U>) - Method in class io.netty5.util.concurrent.DefaultPromise
- handleAsync(BiFunction<? super V, Throwable, ? extends U>) - Method in interface io.netty5.util.concurrent.FutureCompletionStage
- handleAsync(BiFunction<? super V, Throwable, ? extends U>, Executor) - Method in class io.netty5.util.concurrent.DefaultPromise
- handleAsync(BiFunction<? super V, Throwable, ? extends U>, Executor) - Method in interface io.netty5.util.concurrent.FutureCompletionStage
- hardwareAddressFromNetworkInterface(NetworkInterface) - Static method in class io.netty5.util.internal.SocketUtils
- hasAlignDirectByteBuffer() - Static method in class io.netty5.util.internal.PlatformDependent
- hasAttr(AttributeKey<T>) - Method in interface io.netty5.util.AttributeMap
- hasAttr(AttributeKey<T>) - Method in class io.netty5.util.DefaultAttributeMap
- hasDirectBufferNoCleanerConstructor() - Static method in class io.netty5.util.internal.PlatformDependent
- hashCode() - Method in class io.netty5.util.AbstractConstant
- hashCode() - Method in class io.netty5.util.AsciiString
- hashCode() - Method in class io.netty5.util.collection.ByteObjectHashMap
- hashCode() - Method in class io.netty5.util.collection.CharObjectHashMap
- hashCode() - Method in class io.netty5.util.collection.IntObjectHashMap
- hashCode() - Method in class io.netty5.util.collection.LongObjectHashMap
- hashCode() - Method in class io.netty5.util.collection.ShortObjectHashMap
- hashCode() - Method in class io.netty5.util.internal.EmptyPriorityQueue
- hashCode(CharSequence) - Static method in class io.netty5.util.AsciiString
-
Returns the case-insensitive hash code of the specified string.
- hashCode(T) - Method in interface io.netty5.util.HashingStrategy
-
Generate a hash code for
obj. - hashCodeAscii(byte[], int, int) - Static method in class io.netty5.util.internal.PlatformDependent
-
Calculate a hash code of a byte array assuming ASCII character encoding.
- hashCodeAscii(CharSequence) - Static method in class io.netty5.util.internal.PlatformDependent
-
Calculate a hash code of a byte array assuming ASCII character encoding.
- HashedWheelTimer - Class in io.netty5.util
-
A
Timeroptimized for approximated I/O timeout scheduling. - HashedWheelTimer() - Constructor for class io.netty5.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.netty5.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.netty5.util.HashedWheelTimer
-
Creates a new timer with the default thread factory (
Executors.defaultThreadFactory()). - HashedWheelTimer(ThreadFactory) - Constructor for class io.netty5.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.netty5.util.HashedWheelTimer
-
Creates a new timer with the default number of ticks per wheel.
- HashedWheelTimer(ThreadFactory, long, TimeUnit, int) - Constructor for class io.netty5.util.HashedWheelTimer
-
Creates a new timer.
- HashedWheelTimer(ThreadFactory, long, TimeUnit, int, boolean) - Constructor for class io.netty5.util.HashedWheelTimer
-
Creates a new timer.
- HashedWheelTimer(ThreadFactory, long, TimeUnit, int, boolean, long) - Constructor for class io.netty5.util.HashedWheelTimer
-
Creates a new timer.
- HashedWheelTimer(ThreadFactory, long, TimeUnit, int, boolean, long, Executor) - Constructor for class io.netty5.util.HashedWheelTimer
-
Creates a new timer.
- HashingStrategy<T> - Interface in io.netty5.util
-
Abstraction for hash code generation and equality comparison.
- hasScheduledTasks() - Method in class io.netty5.util.concurrent.AbstractScheduledEventExecutor
-
Returns
trueif a scheduled task is ready for processing. - hasTasks() - Method in class io.netty5.util.concurrent.SingleThreadEventExecutor
- hasUnsafe() - Static method in class io.netty5.util.internal.PlatformDependent
-
Return
trueifsun.misc.Unsafewas found on the classpath and can be used for accelerated direct memory access.
I
- id() - Method in class io.netty5.util.AbstractConstant
- id() - Method in interface io.netty5.util.concurrent.ThreadProperties
- id() - Method in interface io.netty5.util.Constant
-
Returns the unique number assigned to this
Constant. - identify() - Static method in class io.netty5.util.Version
-
Retrieves the version information of Netty artifacts using the current context class loader.
- identify(ClassLoader) - Static method in class io.netty5.util.Version
-
Retrieves the version information of Netty artifacts using the specified
ClassLoader. - IllegalReferenceCountException - Exception in io.netty5.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.netty5.util.IllegalReferenceCountException
- IllegalReferenceCountException(int) - Constructor for exception io.netty5.util.IllegalReferenceCountException
- IllegalReferenceCountException(int, int) - Constructor for exception io.netty5.util.IllegalReferenceCountException
- IllegalReferenceCountException(String) - Constructor for exception io.netty5.util.IllegalReferenceCountException
- IllegalReferenceCountException(String, Throwable) - Constructor for exception io.netty5.util.IllegalReferenceCountException
- IllegalReferenceCountException(Throwable) - Constructor for exception io.netty5.util.IllegalReferenceCountException
- ImmediateEventExecutor - Class in io.netty5.util.concurrent
-
Executes
Runnableobjects in the caller's thread. - ImmediateExecutor - Class in io.netty5.util.concurrent
-
Executorwhich execute tasks in the callers thread. - INDEX_NOT_FOUND - Static variable in class io.netty5.util.AsciiString
- INDEX_NOT_IN_QUEUE - Static variable in interface io.netty5.util.internal.PriorityQueueNode
-
This should be used to initialize the storage returned by
PriorityQueueNode.priorityQueueIndex(DefaultPriorityQueue). - IndexNotOfProcessor(byte) - Constructor for class io.netty5.util.ByteProcessor.IndexNotOfProcessor
- indexOf(char, int) - Method in class io.netty5.util.AsciiString
-
Searches in this string for the index of the specified char
ch. - indexOf(CharSequence) - Method in class io.netty5.util.AsciiString
-
Searches in this string for the first index of the specified string.
- indexOf(CharSequence, char, int) - Static method in class io.netty5.util.AsciiString
-
Finds the first index in the
CharSequencethat matches the specified character. - indexOf(CharSequence, int) - Method in class io.netty5.util.AsciiString
-
Searches in this string for the index of the specified string.
- indexOfIgnoreCase(CharSequence, CharSequence, int) - Static method in class io.netty5.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.netty5.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.netty5.util.internal.StringUtil
-
Find the index of the first non-white space character in
sstarting atoffset. - IndexOfProcessor(byte) - Constructor for class io.netty5.util.ByteProcessor.IndexOfProcessor
- indexOfWhiteSpace(CharSequence, int) - Static method in class io.netty5.util.internal.StringUtil
-
Find the index of the first white space character in
sstarting atoffset. - inEventLoop() - Method in interface io.netty5.util.concurrent.EventExecutor
-
Calls
EventExecutor.inEventLoop(Thread)withThread.currentThread()as argument - inEventLoop(Thread) - Method in interface io.netty5.util.concurrent.EventExecutor
- inEventLoop(Thread) - Method in class io.netty5.util.concurrent.GlobalEventExecutor
- inEventLoop(Thread) - Method in class io.netty5.util.concurrent.ImmediateEventExecutor
- inEventLoop(Thread) - Method in class io.netty5.util.concurrent.SingleThreadEventExecutor
- inEventLoop(Thread) - Method in class io.netty5.util.concurrent.UnorderedThreadPoolEventExecutor
- info(String) - Method in interface io.netty5.util.internal.logging.InternalLogger
-
Log a message at the INFO level.
- info(String, Object) - Method in interface io.netty5.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.netty5.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.netty5.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.netty5.util.internal.logging.InternalLogger
-
Log an exception (throwable) at the INFO level with an accompanying message.
- info(Throwable) - Method in class io.netty5.util.internal.logging.AbstractInternalLogger
- info(Throwable) - Method in interface io.netty5.util.internal.logging.InternalLogger
-
Log an exception (throwable) at the INFO level.
- INFO - io.netty5.util.internal.logging.InternalLogLevel
-
'INFO' log level.
- initialNanoTime() - Static method in class io.netty5.util.concurrent.AbstractScheduledEventExecutor
-
The initial value used for delay and computations based upon a monatomic time source.
- initialValue() - Method in class io.netty5.util.concurrent.FastThreadLocal
-
Returns the initial value for this thread-local variable.
- initialValue() - Method in class io.netty5.util.internal.ReferenceCountUpdater
- insertSinceRecycled() - Method in class io.netty5.util.internal.RecyclableArrayList
-
Returns
trueif any elements where added or set. - instance() - Static method in class io.netty5.util.internal.EmptyPriorityQueue
-
Returns an unmodifiable empty
PriorityQueue. - instance() - Static method in class io.netty5.util.ResourceLeakDetectorFactory
-
Get the singleton instance of this factory class.
- INSTANCE - Static variable in class io.netty5.util.concurrent.GlobalEventExecutor
- INSTANCE - Static variable in class io.netty5.util.concurrent.ImmediateEventExecutor
- INSTANCE - Static variable in class io.netty5.util.concurrent.ImmediateExecutor
- INSTANCE - Static variable in class io.netty5.util.internal.logging.CommonsLoggerFactory
-
Deprecated.
- INSTANCE - Static variable in class io.netty5.util.internal.logging.JdkLoggerFactory
- INSTANCE - Static variable in class io.netty5.util.internal.logging.Log4J2LoggerFactory
- INSTANCE - Static variable in class io.netty5.util.internal.logging.Slf4JLoggerFactory
- IntCollections - Class in io.netty5.util.collection
-
Utilities for int-based primitive collections.
- InternalLogger - Interface in io.netty5.util.internal.logging
-
Internal-use-only logger used by Netty.
- InternalLoggerFactory - Class in io.netty5.util.internal.logging
-
Creates
InternalLoggers. - InternalLoggerFactory() - Constructor for class io.netty5.util.internal.logging.InternalLoggerFactory
- InternalLogLevel - Enum in io.netty5.util.internal.logging
-
The log level that
InternalLoggercan log at. - interruptThread() - Method in class io.netty5.util.concurrent.SingleThreadEventExecutor
-
Interrupt the current running
Thread. - IntObjectHashMap<V> - Class in io.netty5.util.collection
-
A hash map implementation of
IntObjectMapthat uses open addressing for keys. - IntObjectHashMap() - Constructor for class io.netty5.util.collection.IntObjectHashMap
- IntObjectHashMap(int) - Constructor for class io.netty5.util.collection.IntObjectHashMap
- IntObjectHashMap(int, float) - Constructor for class io.netty5.util.collection.IntObjectHashMap
- IntObjectMap<V> - Interface in io.netty5.util.collection
-
Interface for a primitive map that uses
ints as keys. - IntObjectMap.PrimitiveEntry<V> - Interface in io.netty5.util.collection
-
A primitive entry in the map, provided by the iterator from
IntObjectMap.entries() - intToIpAddress(int) - Static method in class io.netty5.util.NetUtil
-
Converts a 32-bit integer into an IPv4 address.
- intValue(Integer, int) - Static method in class io.netty5.util.internal.ObjectUtil
-
Resolves a possibly null Integer to a primitive int, using a default value.
- io.netty5.common - module io.netty5.common
- io.netty5.util - package io.netty5.util
-
Utility classes used across multiple packages.
- io.netty5.util.collection - package io.netty5.util.collection
- io.netty5.util.concurrent - package io.netty5.util.concurrent
-
Utility classes for concurrent / async tasks.
- io.netty5.util.internal - package io.netty5.util.internal
-
Internal-use-only utilities which is not allowed to be used outside Netty.
- io.netty5.util.internal.logging - package io.netty5.util.internal.logging
-
Internal-use-only logging API which is not allowed to be used outside Netty.
- ipv4AddressToInt(Inet4Address) - Static method in class io.netty5.util.NetUtil
-
Convert
Inet4Addressintoint - isAccessible() - Method in interface io.netty5.util.Resource
-
Check if this object is accessible.
- isAccessible(Object, boolean) - Static method in interface io.netty5.util.Resource
-
Check if an object is accessible.
- isAlive() - Method in interface io.netty5.util.concurrent.ThreadProperties
- isAndroid() - Static method in class io.netty5.util.internal.PlatformDependent
-
Returns
trueif and only if the current platform is Android - isCancellable() - Method in class io.netty5.util.concurrent.DefaultPromise
- isCancellable() - Method in interface io.netty5.util.concurrent.FutureCompletionStage
- isCancelled() - Method in class io.netty5.util.concurrent.DefaultPromise
- isCancelled() - Method in interface io.netty5.util.Timeout
-
Returns
trueif and only if theTimerTaskassociated with this handle has been cancelled. - isDaemon() - Method in interface io.netty5.util.concurrent.ThreadProperties
- isDebugEnabled() - Method in interface io.netty5.util.internal.logging.InternalLogger
-
Is the logger instance enabled for the DEBUG level?
- isDone() - Method in class io.netty5.util.concurrent.DefaultPromise
- isEmpty() - Method in class io.netty5.util.AsciiString
-
Determine if this instance has 0 length.
- isEmpty() - Method in class io.netty5.util.collection.ByteObjectHashMap
- isEmpty() - Method in class io.netty5.util.collection.CharObjectHashMap
- isEmpty() - Method in class io.netty5.util.collection.IntObjectHashMap
- isEmpty() - Method in class io.netty5.util.collection.LongObjectHashMap
- isEmpty() - Method in class io.netty5.util.collection.ShortObjectHashMap
- isEmpty() - Method in class io.netty5.util.internal.DefaultPriorityQueue
- isEmpty() - Method in class io.netty5.util.internal.EmptyPriorityQueue
- isEmpty() - Method in class io.netty5.util.internal.LongPriorityQueue
- isEnabled() - Static method in class io.netty5.util.ResourceLeakDetector
-
Returns
trueif resource leak detection is enabled. - isEnabled(InternalLogLevel) - Method in class io.netty5.util.internal.logging.AbstractInternalLogger
- isEnabled(InternalLogLevel) - Method in interface io.netty5.util.internal.logging.InternalLogger
-
Is the logger instance enabled for the specified
level? - isEntireArrayUsed() - Method in class io.netty5.util.AsciiString
-
Determine if the storage represented by
AsciiString.array()is entirely used. - isErrorEnabled() - Method in interface io.netty5.util.internal.logging.InternalLogger
-
Is the logger instance enabled for the ERROR level?
- isExpired() - Method in interface io.netty5.util.Timeout
-
Returns
trueif and only if theTimerTaskassociated with this handle has been expired. - isFailed() - Method in class io.netty5.util.concurrent.DefaultPromise
- isFailed() - Method in interface io.netty5.util.concurrent.FutureCompletionStage
- isFamilySupported(Class<? extends InetAddress>, ProtocolFamily) - Static method in class io.netty5.util.NetUtil
-
Returns
trueif theProtocolFamilyis supported by the given address type. - isFamilySupported(InetAddress, ProtocolFamily) - Static method in class io.netty5.util.NetUtil
- isIkvmDotNet() - Static method in class io.netty5.util.internal.PlatformDependent
- isInfoEnabled() - Method in interface io.netty5.util.internal.logging.InternalLogger
-
Is the logger instance enabled for the INFO level?
- isInterrupted() - Method in interface io.netty5.util.concurrent.ThreadProperties
- isIpV4StackPreferred() - Static method in class io.netty5.util.NetUtil
-
Returns
trueif IPv4 should be used even if the system supports both IPv4 and IPv6. - isIpV6AddressesPreferred() - Static method in class io.netty5.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.netty5.util.internal.PlatformDependent
- isLiveNonVolatile(T) - Method in class io.netty5.util.internal.ReferenceCountUpdater
- isNullOrEmpty(CharSequence) - Static method in class io.netty5.util.internal.StringUtil
-
Determine if a
CharSequenceisnullor empty (has zero length). - isOsx() - Static method in class io.netty5.util.internal.PlatformDependent
-
Return
trueif the JVM is running on OSX / MacOS - isOutOfBounds(int, int, int) - Static method in class io.netty5.util.internal.MathUtil
-
Determine if the requested
indexandlengthwill fit withincapacity. - isPeriodic() - Method in interface io.netty5.util.concurrent.RunnableScheduledFuture
-
Return
trueif the task is periodic, which means it may be executed multiple times, as opposed to a delayed task or a normal task, that only execute once. - isReferenceCounted(Object) - Static method in class io.netty5.util.ReferenceCountUtil
-
Tests whether the given object implements the
ReferenceCountedinterface. - isSendOf(Class<?>, Object) - Static method in interface io.netty5.util.Send
-
Determine if the given candidate object is an instance of a
Sendfrom which an object of the given type can be received. - isSet() - Method in class io.netty5.util.concurrent.FastThreadLocal
-
Returns
trueif and only if this thread-local variable is set. - isShutdown() - Method in interface io.netty5.util.concurrent.EventExecutorGroup
-
Returns
trueif allEventExecutors managed by thisEventExecutorGrouphave been shut down gracefully and moved past the grace period so that they are no longer accepting any new tasks. - isShutdown() - Method in class io.netty5.util.concurrent.GlobalEventExecutor
- isShutdown() - Method in class io.netty5.util.concurrent.ImmediateEventExecutor
- isShutdown() - Method in class io.netty5.util.concurrent.MultithreadEventExecutorGroup
- isShutdown() - Method in class io.netty5.util.concurrent.NonStickyEventExecutorGroup
- isShutdown() - Method in class io.netty5.util.concurrent.SingleThreadEventExecutor
- isShutdown() - Method in class io.netty5.util.concurrent.UnorderedThreadPoolEventExecutor
- isShuttingDown() - Method in interface io.netty5.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.netty5.util.concurrent.GlobalEventExecutor
- isShuttingDown() - Method in class io.netty5.util.concurrent.ImmediateEventExecutor
- isShuttingDown() - Method in class io.netty5.util.concurrent.MultithreadEventExecutorGroup
- isShuttingDown() - Method in class io.netty5.util.concurrent.NonStickyEventExecutorGroup
- isShuttingDown() - Method in class io.netty5.util.concurrent.SingleThreadEventExecutor
- isShuttingDown() - Method in class io.netty5.util.concurrent.UnorderedThreadPoolEventExecutor
- isSuccess() - Method in class io.netty5.util.concurrent.DefaultPromise
- isSuccess() - Method in interface io.netty5.util.concurrent.FutureCompletionStage
- isSurrogate(char) - Static method in class io.netty5.util.internal.StringUtil
-
Determine if
clies within the range of values defined for Surrogate Code Point. - isTerminated() - Method in interface io.netty5.util.concurrent.EventExecutorGroup
-
Returns
trueif allEventExecutors managed by thisEventExecutorGroupare shut down, and all of their tasks have completed. - isTerminated() - Method in class io.netty5.util.concurrent.GlobalEventExecutor
- isTerminated() - Method in class io.netty5.util.concurrent.ImmediateEventExecutor
- isTerminated() - Method in class io.netty5.util.concurrent.MultithreadEventExecutorGroup
- isTerminated() - Method in class io.netty5.util.concurrent.NonStickyEventExecutorGroup
- isTerminated() - Method in class io.netty5.util.concurrent.SingleThreadEventExecutor
- isTerminated() - Method in class io.netty5.util.concurrent.UnorderedThreadPoolEventExecutor
- isTraceEnabled() - Method in interface io.netty5.util.internal.logging.InternalLogger
-
Is the logger instance enabled for the TRACE level?
- isUnaligned() - Static method in class io.netty5.util.internal.PlatformDependent
-
trueif and only if the platform supports unaligned access. - isUpperCase(byte) - Static method in class io.netty5.util.AsciiString
- isUpperCase(char) - Static method in class io.netty5.util.AsciiString
- isValidIpV4Address(CharSequence) - Static method in class io.netty5.util.NetUtil
-
Takes a
CharSequenceand parses it to see if it is a valid IPV4 address. - isValidIpV4Address(String) - Static method in class io.netty5.util.NetUtil
-
Takes a
Stringand parses it to see if it is a valid IPV4 address. - isValidIpV6Address(CharSequence) - Static method in class io.netty5.util.NetUtil
- isValidIpV6Address(String) - Static method in class io.netty5.util.NetUtil
- isWarnEnabled() - Method in interface io.netty5.util.internal.logging.InternalLogger
-
Is the logger instance enabled for the WARN level?
- isWindows() - Static method in class io.netty5.util.internal.PlatformDependent
-
Return
trueif the JVM is running on Windows - isZero(byte[], int, int) - Static method in class io.netty5.util.internal.PlatformDependent
-
Determine if a subsection of an array is zero.
- iterator() - Method in interface io.netty5.util.concurrent.EventExecutor
- iterator() - Method in interface io.netty5.util.concurrent.EventExecutorGroup
- iterator() - Method in class io.netty5.util.concurrent.MultithreadEventExecutorGroup
- iterator() - Method in class io.netty5.util.concurrent.NonStickyEventExecutorGroup
- iterator() - Method in class io.netty5.util.internal.DefaultPriorityQueue
-
This iterator does not return elements in any particular order.
- iterator() - Method in class io.netty5.util.internal.EmptyPriorityQueue
J
- JAVA_HASHER - Static variable in interface io.netty5.util.HashingStrategy
- javaVersion() - Static method in class io.netty5.util.internal.PlatformDependent
-
Return the version of Java under which this library is used.
- JdkLoggerFactory - Class in io.netty5.util.internal.logging
-
Logger factory which creates a java.util.logging logger.
- JdkLoggerFactory() - Constructor for class io.netty5.util.internal.logging.JdkLoggerFactory
-
Deprecated.Use
JdkLoggerFactory.INSTANCEinstead. - join(CharSequence, Iterable<? extends CharSequence>) - Static method in class io.netty5.util.internal.StringUtil
-
Returns a char sequence that contains all
elementsjoined by a given separator. - join(BiFunction<V, Throwable, T>) - Method in interface io.netty5.util.concurrent.FutureCompletionStage
-
Waits for the future to complete, then calls the given result handler with the outcome.
K
- key() - Method in interface io.netty5.util.Attribute
-
Returns the key of this attribute.
- key() - Method in interface io.netty5.util.collection.ByteObjectMap.PrimitiveEntry
-
Gets the key for this entry.
- key() - Method in interface io.netty5.util.collection.CharObjectMap.PrimitiveEntry
-
Gets the key for this entry.
- key() - Method in interface io.netty5.util.collection.IntObjectMap.PrimitiveEntry
-
Gets the key for this entry.
- key() - Method in interface io.netty5.util.collection.LongObjectMap.PrimitiveEntry
-
Gets the key for this entry.
- key() - Method in interface io.netty5.util.collection.ShortObjectMap.PrimitiveEntry
-
Gets the key for this entry.
- keySet() - Method in class io.netty5.util.collection.ByteObjectHashMap
- keySet() - Method in class io.netty5.util.collection.CharObjectHashMap
- keySet() - Method in class io.netty5.util.collection.IntObjectHashMap
- keySet() - Method in class io.netty5.util.collection.LongObjectHashMap
- keySet() - Method in class io.netty5.util.collection.ShortObjectHashMap
- keyToString(byte) - Method in class io.netty5.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.netty5.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.netty5.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.netty5.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.netty5.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.netty5.util.AsciiString
-
Searches in this string for the last index of the specified string.
- lastIndexOf(CharSequence, int) - Method in class io.netty5.util.AsciiString
-
Searches in this string for the index of the specified string.
- length() - Method in class io.netty5.util.AsciiString
-
The length in bytes of this instance.
- length() - Method in class io.netty5.util.internal.AppendableCharSequence
- length(String) - Static method in class io.netty5.util.internal.StringUtil
-
Get the length of a string,
nullinput is considered0length. - LINE_FEED - Static variable in class io.netty5.util.internal.StringUtil
- load(String, ClassLoader) - Static method in class io.netty5.util.internal.NativeLibraryLoader
-
Load the given library with the specified
ClassLoader - loadFirstAvailable(ClassLoader, String...) - Static method in class io.netty5.util.internal.NativeLibraryLoader
-
Loads the first available library in the collection with the specified
ClassLoader. - localHost(ProtocolFamily) - Static method in class io.netty5.util.NetUtil
-
Returns the localhost
InetAddressfor this family. - LOCALHOST - Static variable in class io.netty5.util.NetUtil
-
The
InetAddressthat represents the loopback address. - LOCALHOST4 - Static variable in class io.netty5.util.NetUtil
-
The
Inet4Addressthat represents the IPv4 loopback address '127.0.0.1' - LOCALHOST6 - Static variable in class io.netty5.util.NetUtil
-
The
Inet6Addressthat represents the IPv6 loopback address '::1' - localSocketAddress(ServerSocket) - Static method in class io.netty5.util.internal.SocketUtils
- log(InternalLogLevel, String) - Method in class io.netty5.util.internal.logging.AbstractInternalLogger
- log(InternalLogLevel, String) - Method in interface io.netty5.util.internal.logging.InternalLogger
-
Log a message at the specified
level. - log(InternalLogLevel, String, Object) - Method in class io.netty5.util.internal.logging.AbstractInternalLogger
- log(InternalLogLevel, String, Object) - Method in interface io.netty5.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.netty5.util.internal.logging.AbstractInternalLogger
- log(InternalLogLevel, String, Object...) - Method in interface io.netty5.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.netty5.util.internal.logging.AbstractInternalLogger
- log(InternalLogLevel, String, Object, Object) - Method in interface io.netty5.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.netty5.util.internal.logging.AbstractInternalLogger
- log(InternalLogLevel, String, Throwable) - Method in interface io.netty5.util.internal.logging.InternalLogger
-
Log an exception (throwable) at the specified
levelwith an accompanying message. - log(InternalLogLevel, Throwable) - Method in class io.netty5.util.internal.logging.AbstractInternalLogger
- log(InternalLogLevel, Throwable) - Method in interface io.netty5.util.internal.logging.InternalLogger
-
Log an exception (throwable) at the specified
level. - Log4J2LoggerFactory - Class in io.netty5.util.internal.logging
- Log4J2LoggerFactory() - Constructor for class io.netty5.util.internal.logging.Log4J2LoggerFactory
-
Deprecated.Use
Log4J2LoggerFactory.INSTANCEinstead. - LongCollections - Class in io.netty5.util.collection
-
Utilities for long-based primitive collections.
- longCommitHash() - Method in class io.netty5.util.Version
- LongLongHashMap - Class in io.netty5.util.internal
-
Internal primitive map implementation that is specifically optimised for the runs availability map use case in
PoolChunk. - LongLongHashMap(long) - Constructor for class io.netty5.util.internal.LongLongHashMap
- LongObjectHashMap<V> - Class in io.netty5.util.collection
-
A hash map implementation of
LongObjectMapthat uses open addressing for keys. - LongObjectHashMap() - Constructor for class io.netty5.util.collection.LongObjectHashMap
- LongObjectHashMap(int) - Constructor for class io.netty5.util.collection.LongObjectHashMap
- LongObjectHashMap(int, float) - Constructor for class io.netty5.util.collection.LongObjectHashMap
- LongObjectMap<V> - Interface in io.netty5.util.collection
-
Interface for a primitive map that uses
longs as keys. - LongObjectMap.PrimitiveEntry<V> - Interface in io.netty5.util.collection
-
A primitive entry in the map, provided by the iterator from
LongObjectMap.entries() - LongPriorityQueue - Class in io.netty5.util.internal
-
Internal primitive priority queue, used by
PoolChunk. - LongPriorityQueue() - Constructor for class io.netty5.util.internal.LongPriorityQueue
- longValue(Long, long) - Static method in class io.netty5.util.internal.ObjectUtil
-
Resolves a possibly null Long to a primitive long, using a default value.
- LOOPBACK_IF - Static variable in class io.netty5.util.NetUtil
-
The loopback
NetworkInterfaceof the current machine - loopbackAddress() - Static method in class io.netty5.util.internal.SocketUtils
M
- MacAddressUtil - Class in io.netty5.util.internal
- main(String[]) - Static method in class io.netty5.util.Version
-
Prints the version information to
System.err. - map(IN) - Method in interface io.netty5.util.Mapping
-
Returns mapped value of the specified input.
- map(IN, Promise<OUT>) - Method in interface io.netty5.util.AsyncMapping
-
Returns the
Futurethat will provide the result of the mapping. - map(Class<R>, Function<T, R>) - Method in interface io.netty5.util.Send
-
Apply a mapping function to the object being sent.
- map(String) - Method in class io.netty5.util.DomainNameMapping
-
Deprecated.
- map(Function<V, R>) - Method in interface io.netty5.util.concurrent.Future
- Mapping<IN,OUT> - Interface in io.netty5.util
-
Maintains the mapping from the objects of one type to the objects of the other type.
- match(Object) - Method in class io.netty5.util.internal.TypeParameterMatcher
- matches(String) - Method in class io.netty5.util.AsciiString
-
Determines whether this string matches a given regular expression.
- MathUtil - Class in io.netty5.util.internal
-
Math utility methods.
- maxDirectMemory() - Static method in class io.netty5.util.internal.PlatformDependent
-
Returns the maximum memory reserved for direct buffer allocation.
- maybeSuperUser() - Static method in class io.netty5.util.internal.PlatformDependent
-
Return
trueif the current user may be a super-user. - MessageFormatter - Class in io.netty5.util.internal.logging
-
Formats messages according to very simple substitution rules.
- msg() - Method in class io.netty5.util.internal.PendingWrite
- MultithreadEventExecutorGroup - Class in io.netty5.util.concurrent
-
EventExecutorGroupimplementation that handles their tasks with multiple threads at the same time. - MultithreadEventExecutorGroup(int, Executor) - Constructor for class io.netty5.util.concurrent.MultithreadEventExecutorGroup
-
Create a new instance.
- MultithreadEventExecutorGroup(int, Executor, int, RejectedExecutionHandler) - Constructor for class io.netty5.util.concurrent.MultithreadEventExecutorGroup
-
Create a new instance.
- MultithreadEventExecutorGroup(int, Executor, int, RejectedExecutionHandler, Object...) - Constructor for class io.netty5.util.concurrent.MultithreadEventExecutorGroup
-
Create a new instance.
- MultithreadEventExecutorGroup(int, ThreadFactory) - Constructor for class io.netty5.util.concurrent.MultithreadEventExecutorGroup
-
Create a new instance.
- MultithreadEventExecutorGroup(int, ThreadFactory, int, RejectedExecutionHandler) - Constructor for class io.netty5.util.concurrent.MultithreadEventExecutorGroup
-
Create a new instance.
- MultithreadEventExecutorGroup(int, ThreadFactory, int, RejectedExecutionHandler, Object...) - Constructor for class io.netty5.util.concurrent.MultithreadEventExecutorGroup
-
Create a new instance.
N
- name() - Method in class io.netty5.util.AbstractConstant
- name() - Method in interface io.netty5.util.concurrent.ThreadProperties
- name() - Method in interface io.netty5.util.Constant
-
Returns the name of this
Constant. - name() - Method in class io.netty5.util.internal.logging.AbstractInternalLogger
- name() - Method in interface io.netty5.util.internal.logging.InternalLogger
-
Return the name of this
InternalLoggerinstance. - nanoTime() - Static method in class io.netty5.util.concurrent.AbstractScheduledEventExecutor
-
The time elapsed since initialization of this class in nanoseconds.
- NativeLibraryLoader - Class in io.netty5.util.internal
-
Helper class to load JNI resources.
- needReport() - Method in class io.netty5.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.netty5.util
-
A utility class for wrapping calls to
Runtime. - NetUtil - Class in io.netty5.util
-
A class that holds a number of network-related constants.
- newChild(Executor, int, RejectedExecutionHandler, Object...) - Method in class io.netty5.util.concurrent.MultithreadEventExecutorGroup
-
Create a new EventExecutor which will later then accessible via the
MultithreadEventExecutorGroup.next()method. - newConcurrentDeque() - Static method in class io.netty5.util.internal.PlatformDependent
-
Returns a new concurrent
Deque. - newConstant(int, String) - Method in class io.netty5.util.ConstantPool
- newFailedFuture(Throwable) - Method in interface io.netty5.util.concurrent.EventExecutor
-
Create a new
Futurewhich is marked as failed already. - newFailedFuture(Throwable) - Method in interface io.netty5.util.concurrent.FuturePromiseFactory
-
Create a new
Futurewhich is marked as failed already. - newFixedMpscQueue(int) - Static method in class io.netty5.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.netty5.util.internal.RecyclableArrayList
-
Create a new empty
RecyclableArrayListinstance - newInstance(int) - Static method in class io.netty5.util.internal.RecyclableArrayList
-
Create a new empty
RecyclableArrayListinstance with the given capacity. - newInstance(Object, Promise<Void>) - Static method in class io.netty5.util.internal.PendingWrite
-
Create a new empty
RecyclableArrayListinstance - newInstance(String) - Static method in class io.netty5.util.AttributeKey
-
Creates a new
AttributeKeyfor the givennameor fail with anIllegalArgumentExceptionif aAttributeKeyfor the givennameexists. - newInstance(String) - Method in class io.netty5.util.ConstantPool
-
Creates a new
Constantfor the givennameor fail with anIllegalArgumentExceptionif aConstantfor the givennameexists. - newInstance(String) - Method in class io.netty5.util.internal.logging.CommonsLoggerFactory
-
Deprecated.
- newInstance(String) - Method in class io.netty5.util.internal.logging.InternalLoggerFactory
-
Creates a new logger instance with the specified name.
- newInstance(String) - Method in class io.netty5.util.internal.logging.JdkLoggerFactory
- newInstance(String) - Method in class io.netty5.util.internal.logging.Log4J2LoggerFactory
- newInstance(String) - Method in class io.netty5.util.internal.logging.Slf4JLoggerFactory
- NEWLINE - Static variable in class io.netty5.util.internal.StringUtil
- newMpscQueue() - Static method in class io.netty5.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.netty5.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.netty5.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.netty5.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.netty5.util.Recycler
- newPool(ObjectPool.ObjectCreator<T>) - Static method in class io.netty5.util.internal.ObjectPool
-
Creates a new
ObjectPoolwhich will use the givenObjectPool.ObjectCreatorto create theObjectthat should be pooled. - newPromise() - Method in interface io.netty5.util.concurrent.EventExecutor
-
Return a new
Promise. - newPromise() - Method in interface io.netty5.util.concurrent.FuturePromiseFactory
-
Return a new
Promise. - newPromise() - Method in class io.netty5.util.concurrent.ImmediateEventExecutor
- newResourceLeakDetector(Class<T>) - Method in class io.netty5.util.ResourceLeakDetectorFactory
-
Returns a new instance of a
ResourceLeakDetectorwith the given resource class. - newResourceLeakDetector(Class<T>, int) - Method in class io.netty5.util.ResourceLeakDetectorFactory
-
Returns a new instance of a
ResourceLeakDetectorwith the given resource class. - newRunnableScheduledFuture(AbstractScheduledEventExecutor, Promise<V>, Callable<V>, long, long) - Static method in class io.netty5.util.concurrent.AbstractScheduledEventExecutor
- newScheduledTaskFor(Callable<V>, long, long) - Method in class io.netty5.util.concurrent.AbstractScheduledEventExecutor
-
Returns a
RunnableScheduledFuturefor the given values. - newSpscQueue() - Static method in class io.netty5.util.internal.PlatformDependent
-
Create a new
Queuewhich is safe to use for single producer (one thread!) - newSucceededFuture() - Method in interface io.netty5.util.concurrent.FuturePromiseFactory
-
Create a new
Futurewhich is marked as succeeded already. - newSucceededFuture(V) - Method in class io.netty5.util.concurrent.AbstractEventExecutor
- newSucceededFuture(V) - Method in interface io.netty5.util.concurrent.EventExecutor
-
Create a new
Futurewhich is marked as succeeded already. - newSucceededFuture(V) - Method in interface io.netty5.util.concurrent.FuturePromiseFactory
-
Create a new
Futurewhich is marked as succeeded already. - newTaskFor(Runnable, T) - Method in class io.netty5.util.concurrent.AbstractEventExecutor
-
Decorate the given
Runnableand its return value, as aRunnableFuture, such that the returnedRunnableFuturecompletes with the given result at the end of executing itsRunnable.run()method. - newTaskFor(Callable<T>) - Method in class io.netty5.util.concurrent.AbstractEventExecutor
-
Decorate the given
Callableand its return value, as aRunnableFuture, such that the returnedRunnableFuturecompletes with the returned result from theCallableat the end of executing itsRunnable.run()method. - newTaskQueue(int) - Method in class io.netty5.util.concurrent.SingleThreadEventExecutor
-
Create a new
Queuewhich will holds the tasks to execute. - newThread(Runnable) - Method in class io.netty5.util.concurrent.DefaultThreadFactory
- newThread(Runnable, String) - Method in class io.netty5.util.concurrent.DefaultThreadFactory
- newTimeout(TimerTask, long, TimeUnit) - Method in class io.netty5.util.HashedWheelTimer
- newTimeout(TimerTask, long, TimeUnit) - Method in interface io.netty5.util.Timer
-
Schedules the specified
TimerTaskfor one-time execution after the specified delay. - next() - Method in interface io.netty5.util.concurrent.EventExecutor
-
Returns a reference to itself.
- next() - Method in interface io.netty5.util.concurrent.EventExecutorGroup
-
Returns one of the
EventExecutors managed by thisEventExecutorGroup. - next() - Method in class io.netty5.util.concurrent.MultithreadEventExecutorGroup
-
Returns the next
EventExecutorto use. - next() - Method in class io.netty5.util.concurrent.NonStickyEventExecutorGroup
- nextId() - Method in class io.netty5.util.ConstantPool
-
Deprecated.
- nextScheduledTaskNano() - Method in class io.netty5.util.concurrent.AbstractScheduledEventExecutor
-
Return the nanoseconds when the next scheduled task is ready to be run or
-1if no task is scheduled. - NO_VALUE - Static variable in class io.netty5.util.internal.LongPriorityQueue
- NonStickyEventExecutorGroup - Class in io.netty5.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.netty5.util.concurrent.NonStickyEventExecutorGroup
-
Creates a new instance.
- NonStickyEventExecutorGroup(EventExecutorGroup, int) - Constructor for class io.netty5.util.concurrent.NonStickyEventExecutorGroup
-
Creates a new instance.
- normalizedArch() - Static method in class io.netty5.util.internal.PlatformDependent
- normalizedLinuxClassifiers() - Static method in class io.netty5.util.internal.PlatformDependent
- normalizedOs() - Static method in class io.netty5.util.internal.PlatformDependent
O
- objectFieldOffset(Field) - Static method in class io.netty5.util.internal.PlatformDependent
- ObjectPool<T> - Class in io.netty5.util.internal
-
Light-weight object pool.
- ObjectPool.Handle<T> - Interface in io.netty5.util.internal
-
Handle for an pooled
Objectthat will be used to notify theObjectPoolonce it can reuse the pooledObjectagain. - ObjectPool.ObjectCreator<T> - Interface in io.netty5.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.netty5.util.internal
-
A grab-bag of useful utility methods.
- of(CharSequence) - Static method in class io.netty5.util.AsciiString
-
Returns an
AsciiStringcontaining the given character sequence. - offer(long) - Method in class io.netty5.util.internal.LongPriorityQueue
- offer(T) - Method in class io.netty5.util.internal.DefaultPriorityQueue
- offer(T) - Method in class io.netty5.util.internal.EmptyPriorityQueue
- offerTask(Runnable) - Method in class io.netty5.util.concurrent.SingleThreadEventExecutor
- onRemoval(V) - Method in class io.netty5.util.concurrent.FastThreadLocal
-
Invoked when this thread local variable is removed by
FastThreadLocal.remove(). - operationComplete(C, Future<? extends V>) - Method in interface io.netty5.util.concurrent.FutureContextListener
-
Invoked when the operation associated with the
Futurehas been completed. - operationComplete(Future<? extends V>) - Method in interface io.netty5.util.concurrent.FutureListener
-
Invoked when the operation associated with the
Futurehas been completed. - OrderedEventExecutor - Interface in io.netty5.util.concurrent
-
Marker interface for
EventExecutors that will process all submitted tasks in an ordered / serial fashion. - OutOfDirectMemoryError - Error in io.netty5.util.internal
-
OutOfMemoryErrorthat is throws ifPlatformDependent.allocateDirectNoCleaner(int)can not allocate a newByteBufferdue memory restrictions.
P
- PARANOID - io.netty5.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).
- parseBoolean() - Method in class io.netty5.util.AsciiString
- parseChar() - Method in class io.netty5.util.AsciiString
- parseChar(int) - Method in class io.netty5.util.AsciiString
- parseDouble() - Method in class io.netty5.util.AsciiString
- parseDouble(int, int) - Method in class io.netty5.util.AsciiString
- parseFloat() - Method in class io.netty5.util.AsciiString
- parseFloat(int, int) - Method in class io.netty5.util.AsciiString
- parseInt() - Method in class io.netty5.util.AsciiString
- parseInt(int) - Method in class io.netty5.util.AsciiString
- parseInt(int, int) - Method in class io.netty5.util.AsciiString
- parseInt(int, int, int) - Method in class io.netty5.util.AsciiString
- parseLong() - Method in class io.netty5.util.AsciiString
- parseLong(int) - Method in class io.netty5.util.AsciiString
- parseLong(int, int) - Method in class io.netty5.util.AsciiString
- parseLong(int, int, int) - Method in class io.netty5.util.AsciiString
- parseMAC(String) - Static method in class io.netty5.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.netty5.util.AsciiString
- parseShort(int) - Method in class io.netty5.util.AsciiString
- parseShort(int, int) - Method in class io.netty5.util.AsciiString
- parseShort(int, int, int) - Method in class io.netty5.util.AsciiString
- peek() - Method in class io.netty5.util.internal.DefaultPriorityQueue
- peek() - Method in class io.netty5.util.internal.EmptyPriorityQueue
- peek() - Method in class io.netty5.util.internal.LongPriorityQueue
- pendingTasks() - Method in class io.netty5.util.concurrent.GlobalEventExecutor
-
Return the number of tasks that are pending for processing.
- pendingTasks() - Method in class io.netty5.util.concurrent.SingleThreadEventExecutor
-
Return the number of tasks that are pending for processing (excluding the scheduled tasks).
- pendingTimeouts() - Method in class io.netty5.util.HashedWheelTimer
-
Returns the number of pending timeouts of this
Timer. - PendingWrite - Class in io.netty5.util.internal
-
Some pending write which should be picked up later.
- PlatformDependent - Class in io.netty5.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.netty5.util.internal.DefaultPriorityQueue
- poll() - Method in class io.netty5.util.internal.EmptyPriorityQueue
- poll() - Method in class io.netty5.util.internal.LongPriorityQueue
- pollScheduledTask() - Method in class io.netty5.util.concurrent.AbstractScheduledEventExecutor
- pollScheduledTask(long) - Method in class io.netty5.util.concurrent.AbstractScheduledEventExecutor
-
Return the
Runnablewhich is ready to be executed with the givennanoTime. - pollTask() - Method in class io.netty5.util.concurrent.SingleThreadEventExecutor
- priority() - Method in interface io.netty5.util.concurrent.ThreadProperties
- priorityChanged(T) - Method in class io.netty5.util.internal.DefaultPriorityQueue
- priorityChanged(T) - Method in class io.netty5.util.internal.EmptyPriorityQueue
- priorityChanged(T) - Method in interface io.netty5.util.internal.PriorityQueue
-
Notify the queue that the priority for
nodehas changed. - PriorityQueue<T> - Interface in io.netty5.util.internal
- priorityQueueIndex(DefaultPriorityQueue<?>) - Method in interface io.netty5.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.netty5.util.internal.PriorityQueueNode
-
Used by
DefaultPriorityQueueto maintain state for an element in the queue. - PriorityQueueNode - Interface in io.netty5.util.internal
-
Provides methods for
DefaultPriorityQueueto maintain internal state. - process(byte) - Method in class io.netty5.util.ByteProcessor.IndexNotOfProcessor
- process(byte) - Method in class io.netty5.util.ByteProcessor.IndexOfProcessor
- process(byte) - Method in interface io.netty5.util.ByteProcessor
- promise() - Method in class io.netty5.util.internal.PendingWrite
- Promise<V> - Interface in io.netty5.util.concurrent
-
Special
Futurewhich is writable. - PromiseCombiner - Class in io.netty5.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(EventExecutor) - Constructor for class io.netty5.util.concurrent.PromiseCombiner
-
The
EventExecutorto use for notifications. - PromiseNotificationUtil - Class in io.netty5.util.internal
-
Internal utilities to notify
Promises. - put(byte, V) - Method in class io.netty5.util.collection.ByteObjectHashMap
- put(byte, V) - Method in interface io.netty5.util.collection.ByteObjectMap
-
Puts the given entry into the map.
- put(char, V) - Method in class io.netty5.util.collection.CharObjectHashMap
- put(char, V) - Method in interface io.netty5.util.collection.CharObjectMap
-
Puts the given entry into the map.
- put(int, V) - Method in class io.netty5.util.collection.IntObjectHashMap
- put(int, V) - Method in interface io.netty5.util.collection.IntObjectMap
-
Puts the given entry into the map.
- put(long, long) - Method in class io.netty5.util.internal.LongLongHashMap
- put(long, V) - Method in class io.netty5.util.collection.LongObjectHashMap
- put(long, V) - Method in interface io.netty5.util.collection.LongObjectMap
-
Puts the given entry into the map.
- put(short, V) - Method in class io.netty5.util.collection.ShortObjectHashMap
- put(short, V) - Method in interface io.netty5.util.collection.ShortObjectMap
-
Puts the given entry into the map.
- put(Byte, V) - Method in class io.netty5.util.collection.ByteObjectHashMap
- put(Character, V) - Method in class io.netty5.util.collection.CharObjectHashMap
- put(Integer, V) - Method in class io.netty5.util.collection.IntObjectHashMap
- put(Long, V) - Method in class io.netty5.util.collection.LongObjectHashMap
- put(Short, V) - Method in class io.netty5.util.collection.ShortObjectHashMap
- putAll(Map<? extends Byte, ? extends V>) - Method in class io.netty5.util.collection.ByteObjectHashMap
- putAll(Map<? extends Character, ? extends V>) - Method in class io.netty5.util.collection.CharObjectHashMap
- putAll(Map<? extends Integer, ? extends V>) - Method in class io.netty5.util.collection.IntObjectHashMap
- putAll(Map<? extends Long, ? extends V>) - Method in class io.netty5.util.collection.LongObjectHashMap
- putAll(Map<? extends Short, ? extends V>) - Method in class io.netty5.util.collection.ShortObjectHashMap
- putByte(byte[], int, byte) - Static method in class io.netty5.util.internal.PlatformDependent
- putByte(long, byte) - Static method in class io.netty5.util.internal.PlatformDependent
- putByte(Object, long, byte) - Static method in class io.netty5.util.internal.PlatformDependent
- putChar(Object, long, char) - Static method in class io.netty5.util.internal.PlatformDependent
- putDouble(Object, long, double) - Static method in class io.netty5.util.internal.PlatformDependent
- putFloat(Object, long, float) - Static method in class io.netty5.util.internal.PlatformDependent
- putInt(byte[], int, int) - Static method in class io.netty5.util.internal.PlatformDependent
- putInt(long, int) - Static method in class io.netty5.util.internal.PlatformDependent
- putInt(Object, long, int) - Static method in class io.netty5.util.internal.PlatformDependent
- putIntOrdered(long, int) - Static method in class io.netty5.util.internal.PlatformDependent
- putLong(byte[], int, long) - Static method in class io.netty5.util.internal.PlatformDependent
- putLong(long, long) - Static method in class io.netty5.util.internal.PlatformDependent
- putLong(Object, long, long) - Static method in class io.netty5.util.internal.PlatformDependent
- putObject(Object, long, Object) - Static method in class io.netty5.util.internal.PlatformDependent
- putShort(byte[], int, short) - Static method in class io.netty5.util.internal.PlatformDependent
- putShort(long, short) - Static method in class io.netty5.util.internal.PlatformDependent
- putShort(Object, long, short) - Static method in class io.netty5.util.internal.PlatformDependent
R
- readResolve() - Method in class io.netty5.util.internal.logging.AbstractInternalLogger
- reallocateDirectNoCleaner(ByteBuffer, int) - Static method in class io.netty5.util.internal.PlatformDependent
-
Reallocate a new
ByteBufferwith the givencapacity. - reallocateMemory(long, long) - Static method in class io.netty5.util.internal.PlatformDependent
- reason() - Method in annotation type io.netty5.util.SuppressForbidden
- receive() - Method in class io.netty5.util.internal.SendFromSupplier
- receive() - Method in interface io.netty5.util.Send
-
Receive the
Resourceinstance being sent, and bind its ownership to the calling thread. - record() - Method in interface io.netty5.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.netty5.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.netty5.util.internal
-
A simple list which is recyclable.
- recycle() - Method in class io.netty5.util.internal.PendingWrite
-
Clear and recycle this instance.
- recycle() - Method in class io.netty5.util.internal.RecyclableArrayList
-
Clear and recycle this instance.
- recycle(T) - Method in interface io.netty5.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.netty5.util.Recycler
-
Deprecated.
- recycleAndGet() - Method in class io.netty5.util.internal.PendingWrite
-
Recycle this instance and return the
Promise. - Recycler<T> - Class in io.netty5.util
-
Light-weight object pool based on a thread-local stack.
- Recycler() - Constructor for class io.netty5.util.Recycler
- Recycler(int) - Constructor for class io.netty5.util.Recycler
- Recycler(int, int) - Constructor for class io.netty5.util.Recycler
-
Deprecated.
- Recycler(int, int, int) - Constructor for class io.netty5.util.Recycler
- Recycler(int, int, int, int) - Constructor for class io.netty5.util.Recycler
-
Deprecated.
- Recycler(int, int, int, int, int) - Constructor for class io.netty5.util.Recycler
-
Deprecated.
- Recycler.Handle<T> - Interface in io.netty5.util
- refCnt() - Method in class io.netty5.util.AbstractReferenceCounted
- refCnt() - Method in interface io.netty5.util.ReferenceCounted
-
Returns the reference count of this object.
- refCnt(Object) - Static method in class io.netty5.util.ReferenceCountUtil
-
Returns reference count of a
ReferenceCountedobject. - refCnt(T) - Method in class io.netty5.util.internal.ReferenceCountUpdater
- ReferenceCounted - Interface in io.netty5.util
-
A reference-counted object that requires explicit deallocation.
- ReferenceCountUpdater<T extends ReferenceCounted> - Class in io.netty5.util.internal
-
Common logic for
ReferenceCountedimplementations - ReferenceCountUpdater() - Constructor for class io.netty5.util.internal.ReferenceCountUpdater
- ReferenceCountUtil - Class in io.netty5.util
-
Collection of method to handle objects that may implement
ReferenceCounted. - referentIsInstanceOf(Class<?>) - Method in class io.netty5.util.internal.SendFromSupplier
- referentIsInstanceOf(Class<?>) - Method in interface io.netty5.util.Send
-
Determine if the object received from this
Sendis an instance of the given class. - ReflectionUtil - Class in io.netty5.util.internal
- regionMatches(boolean, int, CharSequence, int, int) - Method in class io.netty5.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.netty5.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.netty5.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.netty5.util.AsciiString
-
This is optimized version of regionMatches for string with ASCII chars only
- reject() - Static method in class io.netty5.util.concurrent.RejectedExecutionHandlers
-
Returns a
RejectedExecutionHandlerthat will always just throw aRejectedExecutionException. - reject() - Static method in class io.netty5.util.concurrent.SingleThreadEventExecutor
- rejected(Runnable, SingleThreadEventExecutor) - Method in interface io.netty5.util.concurrent.RejectedExecutionHandler
-
Called when someone tried to add a task to
SingleThreadEventExecutorbut this failed due capacity restrictions. - RejectedExecutionHandler - Interface in io.netty5.util.concurrent
-
Similar to
RejectedExecutionHandlerbut specific toSingleThreadEventExecutor. - RejectedExecutionHandlers - Class in io.netty5.util.concurrent
-
Expose helper methods which create different
RejectedExecutionHandlers. - release() - Method in class io.netty5.util.AbstractReferenceCounted
- release() - Method in interface io.netty5.util.ReferenceCounted
-
Decreases the reference count by
1and deallocates this object if the reference count reaches at0. - release(int) - Method in class io.netty5.util.AbstractReferenceCounted
- release(int) - Method in interface io.netty5.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.netty5.util.ReferenceCountUtil
-
Try to call
ReferenceCounted.release()if the specified message implementsReferenceCounted. - release(Object, int) - Static method in class io.netty5.util.ReferenceCountUtil
-
Try to call
ReferenceCounted.release(int)if the specified message implementsReferenceCounted. - release(T) - Method in class io.netty5.util.internal.ReferenceCountUpdater
- release(T, int) - Method in class io.netty5.util.internal.ReferenceCountUpdater
- remove() - Method in interface io.netty5.util.Attribute
-
Deprecated.please consider using
Attribute.set(Object)(with value ofnull). - remove() - Method in class io.netty5.util.concurrent.FastThreadLocal
-
Sets the value to uninitialized for the specified thread local map.
- remove() - Method in class io.netty5.util.internal.EmptyPriorityQueue
- remove(byte) - Method in class io.netty5.util.collection.ByteObjectHashMap
- remove(byte) - Method in interface io.netty5.util.collection.ByteObjectMap
-
Removes the entry with the specified key.
- remove(char) - Method in class io.netty5.util.collection.CharObjectHashMap
- remove(char) - Method in interface io.netty5.util.collection.CharObjectMap
-
Removes the entry with the specified key.
- remove(int) - Method in class io.netty5.util.collection.IntObjectHashMap
- remove(int) - Method in interface io.netty5.util.collection.IntObjectMap
-
Removes the entry with the specified key.
- remove(long) - Method in class io.netty5.util.collection.LongObjectHashMap
- remove(long) - Method in interface io.netty5.util.collection.LongObjectMap
-
Removes the entry with the specified key.
- remove(long) - Method in class io.netty5.util.internal.LongLongHashMap
- remove(long) - Method in class io.netty5.util.internal.LongPriorityQueue
- remove(short) - Method in class io.netty5.util.collection.ShortObjectHashMap
- remove(short) - Method in interface io.netty5.util.collection.ShortObjectMap
-
Removes the entry with the specified key.
- remove(Object) - Method in class io.netty5.util.collection.ByteObjectHashMap
- remove(Object) - Method in class io.netty5.util.collection.CharObjectHashMap
- remove(Object) - Method in class io.netty5.util.collection.IntObjectHashMap
- remove(Object) - Method in class io.netty5.util.collection.LongObjectHashMap
- remove(Object) - Method in class io.netty5.util.collection.ShortObjectHashMap
- remove(Object) - Method in class io.netty5.util.internal.DefaultPriorityQueue
- remove(Object) - Method in class io.netty5.util.internal.EmptyPriorityQueue
- removeAll() - Static method in class io.netty5.util.concurrent.FastThreadLocal
-
Removes all
FastThreadLocalvariables bound to the current thread. - removeAll(Collection<?>) - Method in class io.netty5.util.internal.EmptyPriorityQueue
- removeShutdownHook(Runnable) - Method in class io.netty5.util.concurrent.SingleThreadEventExecutor
-
Remove a previous added
Runnableas a shutdown hook - removeTask(Runnable) - Method in class io.netty5.util.concurrent.SingleThreadEventExecutor
- removeTyped(T) - Method in class io.netty5.util.internal.DefaultPriorityQueue
- removeTyped(T) - Method in class io.netty5.util.internal.EmptyPriorityQueue
- removeTyped(T) - Method in interface io.netty5.util.internal.PriorityQueue
-
Same as
Collection.remove(Object)but typed using generics. - replace(char, char) - Method in class io.netty5.util.AsciiString
-
Copies this string replacing occurrences of the specified character with another character.
- reportInstancesLeak(String) - Method in class io.netty5.util.ResourceLeakDetector
-
Deprecated.This method will no longer be invoked by
ResourceLeakDetector. - reportTracedLeak(String, String) - Method in class io.netty5.util.ResourceLeakDetector
-
This method is called when a traced leak is detected.
- reportUntracedLeak(String) - Method in class io.netty5.util.ResourceLeakDetector
-
This method is called when an untraced leak is detected.
- repositoryStatus() - Method in class io.netty5.util.Version
- reset() - Method in class io.netty5.util.internal.AppendableCharSequence
-
Reset the
AppendableCharSequence. - resetRefCnt(T) - Method in class io.netty5.util.internal.ReferenceCountUpdater
-
Resets the reference count to 1
- Resource<T extends Resource<T>> - Interface in io.netty5.util
-
A resource that has a life-time, and can be closed.
- ResourceLeakDetector<T> - Class in io.netty5.util
- ResourceLeakDetector(Class<?>, int) - Constructor for class io.netty5.util.ResourceLeakDetector
-
This should not be used directly by users of
ResourceLeakDetector. - ResourceLeakDetector.Level - Enum in io.netty5.util
-
Represents the level of resource leak detection.
- ResourceLeakDetectorFactory - Class in io.netty5.util
-
This static factory should be used to load
ResourceLeakDetectors as needed - ResourceLeakDetectorFactory() - Constructor for class io.netty5.util.ResourceLeakDetectorFactory
- ResourceLeakHint - Interface in io.netty5.util
-
A hint object that provides human-readable message for easier resource leak tracking.
- ResourceLeakTracker<T> - Interface in io.netty5.util
- ResourcesUtil - Class in io.netty5.util.internal
-
A utility class that provides various common operations and constants related to loading resources
- retain() - Method in class io.netty5.util.AbstractReferenceCounted
- retain() - Method in interface io.netty5.util.ReferenceCounted
-
Increases the reference count by
1. - retain(int) - Method in class io.netty5.util.AbstractReferenceCounted
- retain(int) - Method in interface io.netty5.util.ReferenceCounted
-
Increases the reference count by the specified
increment. - retain(T) - Method in class io.netty5.util.internal.ReferenceCountUpdater
- retain(T) - Static method in class io.netty5.util.ReferenceCountUtil
-
Try to call
ReferenceCounted.retain()if the specified message implementsReferenceCounted. - retain(T, int) - Method in class io.netty5.util.internal.ReferenceCountUpdater
- retain(T, int) - Static method in class io.netty5.util.ReferenceCountUtil
-
Try to call
ReferenceCounted.retain(int)if the specified message implementsReferenceCounted. - retainAll(Collection<?>) - Method in class io.netty5.util.internal.EmptyPriorityQueue
- roundToPowerOfTwo(int) - Static method in class io.netty5.util.internal.PlatformDependent
- run() - Method in class io.netty5.util.concurrent.SingleThreadEventExecutor
-
Run tasks that are submitted to this
SingleThreadEventExecutor. - run(Timeout) - Method in interface io.netty5.util.TimerTask
-
Executed after the delay specified with
Timer.newTimeout(TimerTask, long, TimeUnit). - runAfterBoth(CompletionStage<?>, Runnable) - Method in class io.netty5.util.concurrent.DefaultPromise
- runAfterBoth(CompletionStage<?>, Runnable) - Method in interface io.netty5.util.concurrent.FutureCompletionStage
- runAfterBothAsync(CompletionStage<?>, Runnable) - Method in class io.netty5.util.concurrent.DefaultPromise
- runAfterBothAsync(CompletionStage<?>, Runnable) - Method in interface io.netty5.util.concurrent.FutureCompletionStage
- runAfterBothAsync(CompletionStage<?>, Runnable, Executor) - Method in class io.netty5.util.concurrent.DefaultPromise
- runAfterBothAsync(CompletionStage<?>, Runnable, Executor) - Method in interface io.netty5.util.concurrent.FutureCompletionStage
- runAfterEither(CompletionStage<?>, Runnable) - Method in class io.netty5.util.concurrent.DefaultPromise
- runAfterEither(CompletionStage<?>, Runnable) - Method in interface io.netty5.util.concurrent.FutureCompletionStage
- runAfterEitherAsync(CompletionStage<?>, Runnable) - Method in class io.netty5.util.concurrent.DefaultPromise
- runAfterEitherAsync(CompletionStage<?>, Runnable) - Method in interface io.netty5.util.concurrent.FutureCompletionStage
- runAfterEitherAsync(CompletionStage<?>, Runnable, Executor) - Method in class io.netty5.util.concurrent.DefaultPromise
- runAfterEitherAsync(CompletionStage<?>, Runnable, Executor) - Method in interface io.netty5.util.concurrent.FutureCompletionStage
- runAllTasks(int) - Method in class io.netty5.util.concurrent.SingleThreadEventExecutor
-
Poll all tasks from the task queue and run them via
Runnable.run()method. - RunnableFuture<V> - Interface in io.netty5.util.concurrent
-
A combination of
RunnableFutureandFuture. - RunnableScheduledFuture<V> - Interface in io.netty5.util.concurrent
-
A combination of
RunnableFutureandComparable(sorting by their next deadline), with additional methods for scheduling, periodicity, and delay.
S
- SafeCloseable - Interface in io.netty5.util
-
A
SafeCloseablecan be safely closed without risk of an exception being thrown. - safeFindNextPositivePowerOfTwo(int) - Static method in class io.netty5.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.netty5.util.ReferenceCountUtil
-
Try to call
ReferenceCounted.release()if the specified message implementsReferenceCounted. - safeRelease(Object, int) - Static method in class io.netty5.util.ReferenceCountUtil
-
Try to call
ReferenceCounted.release(int)if the specified message implementsReferenceCounted. - schedule(RunnableScheduledFuture<V>) - Method in class io.netty5.util.concurrent.AbstractScheduledEventExecutor
-
Add the
RunnableScheduledFuturefor execution. - schedule(Runnable, long, TimeUnit) - Method in class io.netty5.util.concurrent.AbstractScheduledEventExecutor
- schedule(Runnable, long, TimeUnit) - Method in interface io.netty5.util.concurrent.EventExecutor
- schedule(Runnable, long, TimeUnit) - Method in interface io.netty5.util.concurrent.EventExecutorGroup
-
Schedule the given task for execution after the given delay, in the next available
EventExecutorin this group, and return a future that produces anullresult when the task completes. - schedule(Runnable, long, TimeUnit) - Method in class io.netty5.util.concurrent.ImmediateEventExecutor
- schedule(Runnable, long, TimeUnit) - Method in class io.netty5.util.concurrent.NonStickyEventExecutorGroup
- schedule(Runnable, long, TimeUnit) - Method in class io.netty5.util.concurrent.UnorderedThreadPoolEventExecutor
- schedule(Callable<V>, long, TimeUnit) - Method in class io.netty5.util.concurrent.AbstractScheduledEventExecutor
- schedule(Callable<V>, long, TimeUnit) - Method in interface io.netty5.util.concurrent.EventExecutor
- schedule(Callable<V>, long, TimeUnit) - Method in interface io.netty5.util.concurrent.EventExecutorGroup
-
Schedule the given task for execution after the given delay, in the next available
EventExecutorin this group, and return a future that will return the result of the callable when the task completes. - schedule(Callable<V>, long, TimeUnit) - Method in class io.netty5.util.concurrent.ImmediateEventExecutor
- schedule(Callable<V>, long, TimeUnit) - Method in class io.netty5.util.concurrent.NonStickyEventExecutorGroup
- schedule(Callable<V>, long, TimeUnit) - Method in class io.netty5.util.concurrent.UnorderedThreadPoolEventExecutor
- scheduleAtFixedRate(Runnable, long, long, TimeUnit) - Method in class io.netty5.util.concurrent.AbstractScheduledEventExecutor
- scheduleAtFixedRate(Runnable, long, long, TimeUnit) - Method in interface io.netty5.util.concurrent.EventExecutor
- scheduleAtFixedRate(Runnable, long, long, TimeUnit) - Method in interface io.netty5.util.concurrent.EventExecutorGroup
-
Schedule the given task for periodic execution in the next available
EventExecutor. - scheduleAtFixedRate(Runnable, long, long, TimeUnit) - Method in class io.netty5.util.concurrent.ImmediateEventExecutor
- scheduleAtFixedRate(Runnable, long, long, TimeUnit) - Method in class io.netty5.util.concurrent.NonStickyEventExecutorGroup
- scheduleAtFixedRate(Runnable, long, long, TimeUnit) - Method in class io.netty5.util.concurrent.UnorderedThreadPoolEventExecutor
- scheduleWithFixedDelay(Runnable, long, long, TimeUnit) - Method in class io.netty5.util.concurrent.AbstractScheduledEventExecutor
- scheduleWithFixedDelay(Runnable, long, long, TimeUnit) - Method in interface io.netty5.util.concurrent.EventExecutor
- scheduleWithFixedDelay(Runnable, long, long, TimeUnit) - Method in interface io.netty5.util.concurrent.EventExecutorGroup
-
Schedule the given task for periodic execution in the next available
EventExecutor. - scheduleWithFixedDelay(Runnable, long, long, TimeUnit) - Method in class io.netty5.util.concurrent.ImmediateEventExecutor
- scheduleWithFixedDelay(Runnable, long, long, TimeUnit) - Method in class io.netty5.util.concurrent.NonStickyEventExecutorGroup
- scheduleWithFixedDelay(Runnable, long, long, TimeUnit) - Method in class io.netty5.util.concurrent.UnorderedThreadPoolEventExecutor
- send() - Method in interface io.netty5.util.Resource
-
Send this object instance to another Thread, transferring the ownership to the recipient.
- Send<T extends Resource<T>> - Interface in io.netty5.util
-
A temporary holder of a
Resource, used for transferring the ownership of the resource from one thread to another. - SendFromSupplier<T extends Resource<T>> - Class in io.netty5.util.internal
- SendFromSupplier(Class<T>, Supplier<? extends T>) - Constructor for class io.netty5.util.internal.SendFromSupplier
- sending(Class<T>, Supplier<? extends T>) - Static method in interface io.netty5.util.Send
- set(int, Object) - Method in class io.netty5.util.internal.RecyclableArrayList
- set(T) - Method in interface io.netty5.util.Attribute
-
Sets the value
- set(V) - Method in class io.netty5.util.concurrent.FastThreadLocal
-
Set the value for the current thread.
- setAvailableProcessors(int) - Static method in class io.netty5.util.NettyRuntime
-
Set the number of available processors.
- setDefaultFactory(InternalLoggerFactory) - Static method in class io.netty5.util.internal.logging.InternalLoggerFactory
-
Set the default factory.
- setFailure(Throwable) - Method in class io.netty5.util.concurrent.DefaultPromise
- setFailure(Throwable) - Method in interface io.netty5.util.concurrent.Promise
-
Marks this promise as a failure and notifies all listeners attached to the future.
- setIfAbsent(T) - Method in interface io.netty5.util.Attribute
-
Atomically sets to the given value if this
Attribute's value isnull. - setLength(int) - Method in class io.netty5.util.internal.AppendableCharSequence
- setLevel(ResourceLeakDetector.Level) - Static method in class io.netty5.util.ResourceLeakDetector
-
Sets the resource leak detection level.
- setMemory(byte[], int, long, byte) - Static method in class io.netty5.util.internal.PlatformDependent
- setMemory(long, long, byte) - Static method in class io.netty5.util.internal.PlatformDependent
- setMemory(Object, long, long, byte) - Static method in class io.netty5.util.internal.PlatformDependent
- setRefCnt(int) - Method in class io.netty5.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.netty5.util.internal.ReferenceCountUpdater
-
An unsafe operation that sets the reference count directly
- setResourceLeakDetectorFactory(ResourceLeakDetectorFactory) - Static method in class io.netty5.util.ResourceLeakDetectorFactory
-
Set the factory's singleton instance.
- setSuccess(V) - Method in class io.netty5.util.concurrent.DefaultPromise
- setSuccess(V) - Method in interface io.netty5.util.concurrent.Promise
-
Marks this promise as a success and notifies all listeners attached to the future.
- setUncancellable() - Method in class io.netty5.util.concurrent.DefaultPromise
- setUncancellable() - Method in interface io.netty5.util.concurrent.Promise
-
Make this promise impossible to cancel.
- setValue(V) - Method in interface io.netty5.util.collection.ByteObjectMap.PrimitiveEntry
-
Sets the value for this entry.
- setValue(V) - Method in interface io.netty5.util.collection.CharObjectMap.PrimitiveEntry
-
Sets the value for this entry.
- setValue(V) - Method in interface io.netty5.util.collection.IntObjectMap.PrimitiveEntry
-
Sets the value for this entry.
- setValue(V) - Method in interface io.netty5.util.collection.LongObjectMap.PrimitiveEntry
-
Sets the value for this entry.
- setValue(V) - Method in interface io.netty5.util.collection.ShortObjectMap.PrimitiveEntry
-
Sets the value for this entry.
- ShortCollections - Class in io.netty5.util.collection
-
Utilities for short-based primitive collections.
- shortCommitHash() - Method in class io.netty5.util.Version
- ShortObjectHashMap<V> - Class in io.netty5.util.collection
-
A hash map implementation of
ShortObjectMapthat uses open addressing for keys. - ShortObjectHashMap() - Constructor for class io.netty5.util.collection.ShortObjectHashMap
- ShortObjectHashMap(int) - Constructor for class io.netty5.util.collection.ShortObjectHashMap
- ShortObjectHashMap(int, float) - Constructor for class io.netty5.util.collection.ShortObjectHashMap
- ShortObjectMap<V> - Interface in io.netty5.util.collection
-
Interface for a primitive map that uses
shorts as keys. - ShortObjectMap.PrimitiveEntry<V> - Interface in io.netty5.util.collection
-
A primitive entry in the map, provided by the iterator from
ShortObjectMap.entries() - shutdownGracefully() - Method in interface io.netty5.util.concurrent.EventExecutorGroup
-
Shortcut method for
EventExecutorGroup.shutdownGracefully(long, long, TimeUnit)with sensible default values. - shutdownGracefully() - Method in class io.netty5.util.concurrent.NonStickyEventExecutorGroup
- shutdownGracefully(long, long, TimeUnit) - Method in interface io.netty5.util.concurrent.EventExecutorGroup
-
Signals this executor that the caller wants the executor to be shut down.
- shutdownGracefully(long, long, TimeUnit) - Method in class io.netty5.util.concurrent.GlobalEventExecutor
- shutdownGracefully(long, long, TimeUnit) - Method in class io.netty5.util.concurrent.ImmediateEventExecutor
- shutdownGracefully(long, long, TimeUnit) - Method in class io.netty5.util.concurrent.MultithreadEventExecutorGroup
- shutdownGracefully(long, long, TimeUnit) - Method in class io.netty5.util.concurrent.NonStickyEventExecutorGroup
- shutdownGracefully(long, long, TimeUnit) - Method in class io.netty5.util.concurrent.SingleThreadEventExecutor
- shutdownGracefully(long, long, TimeUnit) - Method in class io.netty5.util.concurrent.UnorderedThreadPoolEventExecutor
- SilentDispose - Class in io.netty5.util.internal
-
Utility class for disposing of resources without propagating any exception that
Resource.close()might throw. - SIMPLE - io.netty5.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.netty5.util.internal.StringUtil
-
Generates a simplified name from a
Class. - simpleClassName(Object) - Static method in class io.netty5.util.internal.StringUtil
-
The shortcut to
simpleClassName(o.getClass()). - SingleThreadEventExecutor - Class in io.netty5.util.concurrent
-
OrderedEventExecutor's implementation that execute all its submitted tasks in a single thread. - SingleThreadEventExecutor() - Constructor for class io.netty5.util.concurrent.SingleThreadEventExecutor
-
Create a new instance
- SingleThreadEventExecutor(Executor) - Constructor for class io.netty5.util.concurrent.SingleThreadEventExecutor
-
Create a new instance
- SingleThreadEventExecutor(Executor, int, RejectedExecutionHandler) - Constructor for class io.netty5.util.concurrent.SingleThreadEventExecutor
-
Create a new instance
- SingleThreadEventExecutor(ThreadFactory) - Constructor for class io.netty5.util.concurrent.SingleThreadEventExecutor
-
Create a new instance
- SingleThreadEventExecutor(ThreadFactory, int, RejectedExecutionHandler) - Constructor for class io.netty5.util.concurrent.SingleThreadEventExecutor
-
Create a new instance
- size() - Method in class io.netty5.util.collection.ByteObjectHashMap
- size() - Method in class io.netty5.util.collection.CharObjectHashMap
- size() - Method in class io.netty5.util.collection.IntObjectHashMap
- size() - Method in class io.netty5.util.collection.LongObjectHashMap
- size() - Method in class io.netty5.util.collection.ShortObjectHashMap
- size() - Static method in class io.netty5.util.concurrent.FastThreadLocal
-
Returns the number of thread local variables bound to the current thread.
- size() - Method in class io.netty5.util.internal.DefaultPriorityQueue
- size() - Method in class io.netty5.util.internal.EmptyPriorityQueue
- Slf4JLoggerFactory - Class in io.netty5.util.internal.logging
-
Logger factory which creates a SLF4J logger.
- Slf4JLoggerFactory() - Constructor for class io.netty5.util.internal.logging.Slf4JLoggerFactory
-
Deprecated.Use
Slf4JLoggerFactory.INSTANCEinstead. - socketAddress(String, int) - Static method in class io.netty5.util.internal.SocketUtils
- SocketUtils - Class in io.netty5.util.internal
-
Provides socket operations with privileges enabled.
- SOMAXCONN - Static variable in class io.netty5.util.NetUtil
-
The SOMAXCONN value of the current machine.
- SPACE - Static variable in class io.netty5.util.internal.StringUtil
- split(char) - Method in class io.netty5.util.AsciiString
-
Splits the specified
Stringwith the specified delimiter. - split(String, int) - Method in class io.netty5.util.AsciiString
-
Splits this string using the supplied regular expression
expr. - stackTrace() - Method in interface io.netty5.util.concurrent.ThreadProperties
- stackTraceToString(Throwable) - Static method in class io.netty5.util.internal.ThrowableUtil
-
Gets the stack trace from a Throwable as a String.
- start() - Method in class io.netty5.util.HashedWheelTimer
-
Starts the background thread explicitly.
- startsWith(CharSequence) - Method in class io.netty5.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.netty5.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.netty5.util.concurrent.ThreadProperties
- stop() - Method in class io.netty5.util.HashedWheelTimer
- stop() - Method in interface io.netty5.util.Timer
-
Releases all resources acquired by this
Timerand cancels all tasks which were scheduled but not executed yet. - StringUtil - Class in io.netty5.util.internal
-
String utility class.
- submit(Runnable) - Method in class io.netty5.util.concurrent.AbstractEventExecutor
- submit(Runnable) - Method in interface io.netty5.util.concurrent.EventExecutor
- submit(Runnable) - Method in interface io.netty5.util.concurrent.EventExecutorGroup
-
Submit the given task for execution in the next available
EventExecutorin this group, and return a future that produces anullresult when the task completes. - submit(Runnable) - Method in class io.netty5.util.concurrent.NonStickyEventExecutorGroup
- submit(Runnable) - Method in class io.netty5.util.concurrent.UnorderedThreadPoolEventExecutor
- submit(Runnable, T) - Method in class io.netty5.util.concurrent.AbstractEventExecutor
- submit(Runnable, T) - Method in interface io.netty5.util.concurrent.EventExecutor
- submit(Runnable, T) - Method in interface io.netty5.util.concurrent.EventExecutorGroup
-
Submit the given task for execution in the next available
EventExecutorin this group, and return a future that produces the given result when the task completes. - submit(Runnable, T) - Method in class io.netty5.util.concurrent.NonStickyEventExecutorGroup
- submit(Runnable, T) - Method in class io.netty5.util.concurrent.UnorderedThreadPoolEventExecutor
- submit(Callable<T>) - Method in class io.netty5.util.concurrent.AbstractEventExecutor
- submit(Callable<T>) - Method in interface io.netty5.util.concurrent.EventExecutor
- submit(Callable<T>) - Method in interface io.netty5.util.concurrent.EventExecutorGroup
-
Submit the given task for execution in the next available
EventExecutorin this group, and return a future that will return the result of the callable when the task completes. - submit(Callable<T>) - Method in class io.netty5.util.concurrent.NonStickyEventExecutorGroup
- submit(Callable<T>) - Method in class io.netty5.util.concurrent.UnorderedThreadPoolEventExecutor
- subSequence(int) - Method in class io.netty5.util.AsciiString
-
Copies a range of characters into a new string.
- subSequence(int, int) - Method in class io.netty5.util.AsciiString
-
Copies a range of characters into a new string.
- subSequence(int, int) - Method in class io.netty5.util.internal.AppendableCharSequence
- subSequence(int, int, boolean) - Method in class io.netty5.util.AsciiString
-
Either copy or share a subset of underlying sub-sequence of bytes.
- substring(int, int) - Method in class io.netty5.util.internal.AppendableCharSequence
-
Create a new
Stringfrom the given start to end. - substring(CharSequence, int, int) - Static method in class io.netty5.util.AsciiString
-
Create a subsequence of the given sequence.
- substringAfter(String, char) - Static method in class io.netty5.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.netty5.util.internal.StringUtil
-
Get the item before one char delim if the delim is found (else null).
- subStringUnsafe(int, int) - Method in class io.netty5.util.internal.AppendableCharSequence
-
Create a new
Stringfrom the given start to end. - successAndRecycle() - Method in class io.netty5.util.internal.PendingWrite
-
Mark the underlying
Promisesuccessfully and recycle this instance. - SuppressForbidden - Annotation Type in io.netty5.util
-
Annotation to suppress forbidden-apis errors inside a whole class, a method, or a field.
- sync() - Method in class io.netty5.util.concurrent.DefaultPromise
- sync() - Method in interface io.netty5.util.concurrent.FutureCompletionStage
-
Waits for this future until it is done, and rethrows the cause of the failure if this future failed.
- SystemPropertyUtil - Class in io.netty5.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.netty5.util.internal.StringUtil
- takeTask() - Method in class io.netty5.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.netty5.util.Timeout
-
Returns the
TimerTaskwhich is associated with this handle. - terminationFuture() - Method in interface io.netty5.util.concurrent.EventExecutorGroup
-
Returns the
Futurewhich is notified when allEventExecutors managed by thisEventExecutorGrouphave been terminated. - terminationFuture() - Method in class io.netty5.util.concurrent.GlobalEventExecutor
- terminationFuture() - Method in class io.netty5.util.concurrent.ImmediateEventExecutor
- terminationFuture() - Method in class io.netty5.util.concurrent.MultithreadEventExecutorGroup
- terminationFuture() - Method in class io.netty5.util.concurrent.NonStickyEventExecutorGroup
- terminationFuture() - Method in class io.netty5.util.concurrent.SingleThreadEventExecutor
- terminationFuture() - Method in class io.netty5.util.concurrent.UnorderedThreadPoolEventExecutor
- thenAccept(Consumer<? super V>) - Method in class io.netty5.util.concurrent.DefaultPromise
- thenAccept(Consumer<? super V>) - Method in interface io.netty5.util.concurrent.FutureCompletionStage
- thenAcceptAsync(Consumer<? super V>) - Method in class io.netty5.util.concurrent.DefaultPromise
- thenAcceptAsync(Consumer<? super V>) - Method in interface io.netty5.util.concurrent.FutureCompletionStage
- thenAcceptAsync(Consumer<? super V>, Executor) - Method in class io.netty5.util.concurrent.DefaultPromise
- thenAcceptAsync(Consumer<? super V>, Executor) - Method in interface io.netty5.util.concurrent.FutureCompletionStage
- thenAcceptBoth(CompletionStage<? extends U>, BiConsumer<? super V, ? super U>) - Method in class io.netty5.util.concurrent.DefaultPromise
- thenAcceptBoth(CompletionStage<? extends U>, BiConsumer<? super V, ? super U>) - Method in interface io.netty5.util.concurrent.FutureCompletionStage
- thenAcceptBothAsync(CompletionStage<? extends U>, BiConsumer<? super V, ? super U>) - Method in class io.netty5.util.concurrent.DefaultPromise
- thenAcceptBothAsync(CompletionStage<? extends U>, BiConsumer<? super V, ? super U>) - Method in interface io.netty5.util.concurrent.FutureCompletionStage
- thenAcceptBothAsync(CompletionStage<? extends U>, BiConsumer<? super V, ? super U>, Executor) - Method in class io.netty5.util.concurrent.DefaultPromise
- thenAcceptBothAsync(CompletionStage<? extends U>, BiConsumer<? super V, ? super U>, Executor) - Method in interface io.netty5.util.concurrent.FutureCompletionStage
- thenApply(Function<? super V, ? extends U>) - Method in class io.netty5.util.concurrent.DefaultPromise
- thenApply(Function<? super V, ? extends U>) - Method in interface io.netty5.util.concurrent.FutureCompletionStage
- thenApplyAsync(Function<? super V, ? extends U>) - Method in class io.netty5.util.concurrent.DefaultPromise
- thenApplyAsync(Function<? super V, ? extends U>) - Method in interface io.netty5.util.concurrent.FutureCompletionStage
- thenApplyAsync(Function<? super V, ? extends U>, Executor) - Method in class io.netty5.util.concurrent.DefaultPromise
- thenApplyAsync(Function<? super V, ? extends U>, Executor) - Method in interface io.netty5.util.concurrent.FutureCompletionStage
- thenCombine(CompletionStage<? extends U>, BiFunction<? super V, ? super U, ? extends V1>) - Method in class io.netty5.util.concurrent.DefaultPromise
- thenCombine(CompletionStage<? extends U>, BiFunction<? super V, ? super U, ? extends V1>) - Method in interface io.netty5.util.concurrent.FutureCompletionStage
- thenCombineAsync(CompletionStage<? extends U>, BiFunction<? super V, ? super U, ? extends V1>) - Method in class io.netty5.util.concurrent.DefaultPromise
- thenCombineAsync(CompletionStage<? extends U>, BiFunction<? super V, ? super U, ? extends V1>) - Method in interface io.netty5.util.concurrent.FutureCompletionStage
- thenCombineAsync(CompletionStage<? extends U>, BiFunction<? super V, ? super U, ? extends V1>, Executor) - Method in class io.netty5.util.concurrent.DefaultPromise
- thenCombineAsync(CompletionStage<? extends U>, BiFunction<? super V, ? super U, ? extends V1>, Executor) - Method in interface io.netty5.util.concurrent.FutureCompletionStage
- thenCompose(Function<? super V, ? extends CompletionStage<U>>) - Method in class io.netty5.util.concurrent.DefaultPromise
- thenCompose(Function<? super V, ? extends CompletionStage<U>>) - Method in interface io.netty5.util.concurrent.FutureCompletionStage
- thenComposeAsync(Function<? super V, ? extends CompletionStage<U>>) - Method in class io.netty5.util.concurrent.DefaultPromise
- thenComposeAsync(Function<? super V, ? extends CompletionStage<U>>) - Method in interface io.netty5.util.concurrent.FutureCompletionStage
- thenComposeAsync(Function<? super V, ? extends CompletionStage<U>>, Executor) - Method in class io.netty5.util.concurrent.DefaultPromise
- thenComposeAsync(Function<? super V, ? extends CompletionStage<U>>, Executor) - Method in interface io.netty5.util.concurrent.FutureCompletionStage
- thenRun(Runnable) - Method in class io.netty5.util.concurrent.DefaultPromise
- thenRun(Runnable) - Method in interface io.netty5.util.concurrent.FutureCompletionStage
- thenRunAsync(Runnable) - Method in class io.netty5.util.concurrent.DefaultPromise
- thenRunAsync(Runnable) - Method in interface io.netty5.util.concurrent.FutureCompletionStage
- thenRunAsync(Runnable, Executor) - Method in class io.netty5.util.concurrent.DefaultPromise
- thenRunAsync(Runnable, Executor) - Method in interface io.netty5.util.concurrent.FutureCompletionStage
- ThreadExecutorMap - Class in io.netty5.util.internal
-
Allow to retrieve the
EventExecutorfor the callingThread. - threadGroup - Variable in class io.netty5.util.concurrent.DefaultThreadFactory
- threadLocalStringBuilder() - Static method in class io.netty5.util.internal.StringUtil
- ThreadPerTaskExecutor - Class in io.netty5.util.concurrent
- ThreadPerTaskExecutor(ThreadFactory) - Constructor for class io.netty5.util.concurrent.ThreadPerTaskExecutor
- threadProperties() - Method in class io.netty5.util.concurrent.SingleThreadEventExecutor
- ThreadProperties - Interface in io.netty5.util.concurrent
-
Expose details for a
Thread. - ThrowableUtil - Class in io.netty5.util.internal
- throwException(Throwable) - Static method in class io.netty5.util.internal.PlatformDependent
-
Raises an exception bypassing compiler checks for checked exceptions.
- Timeout - Interface in io.netty5.util
- timer() - Method in interface io.netty5.util.Timeout
-
Returns the
Timerthat created this handle. - Timer - Interface in io.netty5.util
-
Schedules
TimerTasks for one-time future execution in a background thread. - TimerTask - Interface in io.netty5.util
-
A task which is executed after the delay specified with
Timer.newTimeout(TimerTask, long, TimeUnit). - tmpdir() - Static method in class io.netty5.util.internal.PlatformDependent
-
Returns the temporary directory.
- toAddressString(InetAddress) - Static method in class io.netty5.util.NetUtil
-
Returns the
Stringrepresentation of anInetAddress. - toAddressString(InetAddress, boolean) - Static method in class io.netty5.util.NetUtil
-
Returns the
Stringrepresentation of anInetAddress. - toArray() - Method in class io.netty5.util.internal.DefaultPriorityQueue
- toArray() - Method in class io.netty5.util.internal.EmptyPriorityQueue
- toArray(T1[]) - Method in class io.netty5.util.internal.EmptyPriorityQueue
- toArray(X[]) - Method in class io.netty5.util.internal.DefaultPriorityQueue
- toByteArray() - Method in class io.netty5.util.AsciiString
-
Converts this string to a byte array.
- toByteArray(int, int) - Method in class io.netty5.util.AsciiString
-
Converts a subset of this string to a byte array.
- toCharArray() - Method in class io.netty5.util.AsciiString
-
Copies the characters in this string to a character array.
- toCharArray(int, int) - Method in class io.netty5.util.AsciiString
-
Copies the characters in this string to a character array.
- toCompletableFuture() - Method in interface io.netty5.util.concurrent.FutureCompletionStage
-
Not supported and so throws an
UnsupportedOperationException. - toFutureCompletionStage(CompletionStage<U>, EventExecutor) - Static method in interface io.netty5.util.concurrent.FutureCompletionStage
-
Returns a
FutureCompletionStagefor the givenCompletionStagethat is pinned to the givenEventExecutor. - toHexString(byte[]) - Static method in class io.netty5.util.internal.StringUtil
-
Converts the specified byte array into a hexadecimal value.
- toHexString(byte[], int, int) - Static method in class io.netty5.util.internal.StringUtil
-
Converts the specified byte array into a hexadecimal value.
- toHexString(T, byte[]) - Static method in class io.netty5.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.netty5.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.netty5.util.internal.StringUtil
-
Converts the specified byte array into a hexadecimal value.
- toHexStringPadded(byte[], int, int) - Static method in class io.netty5.util.internal.StringUtil
-
Converts the specified byte array into a hexadecimal value.
- toHexStringPadded(T, byte[]) - Static method in class io.netty5.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.netty5.util.internal.StringUtil
-
Converts the specified byte array into a hexadecimal value and appends it to the specified buffer.
- toHintString() - Method in interface io.netty5.util.ResourceLeakHint
-
Returns a human-readable message that potentially enables easier resource leak tracking.
- toLowerCase() - Method in class io.netty5.util.AsciiString
-
Converts the characters in this string to lowercase, using the default Locale.
- toLowerCase(char) - Static method in class io.netty5.util.AsciiString
-
If the character is uppercase - converts the character to lowercase, otherwise returns the character as it is.
- toPoolName(Class<?>) - Static method in class io.netty5.util.concurrent.DefaultThreadFactory
- toSocketAddressString(String, int) - Static method in class io.netty5.util.NetUtil
-
Returns the
Stringrepresentation of a host port combo. - toSocketAddressString(InetSocketAddress) - Static method in class io.netty5.util.NetUtil
-
Returns the
Stringrepresentation of anInetSocketAddress. - toString() - Method in class io.netty5.util.AbstractConstant
- toString() - Method in class io.netty5.util.AsciiString
-
Translates the entire byte string to a
String. - toString() - Method in class io.netty5.util.collection.ByteObjectHashMap
- toString() - Method in class io.netty5.util.collection.CharObjectHashMap
- toString() - Method in class io.netty5.util.collection.IntObjectHashMap
- toString() - Method in class io.netty5.util.collection.LongObjectHashMap
- toString() - Method in class io.netty5.util.collection.ShortObjectHashMap
- toString() - Method in class io.netty5.util.concurrent.DefaultPromise
- toString() - Method in class io.netty5.util.DomainNameMapping
-
Deprecated.
- toString() - Method in class io.netty5.util.internal.AppendableCharSequence
- toString() - Method in class io.netty5.util.internal.EmptyPriorityQueue
- toString() - Method in class io.netty5.util.internal.logging.AbstractInternalLogger
- toString() - Method in class io.netty5.util.Version
- toString(int) - Method in class io.netty5.util.AsciiString
-
Translates the entire byte string to a
Stringusing thecharsetencoding. - toString(int, int) - Method in class io.netty5.util.AsciiString
- toStringBuilder() - Method in class io.netty5.util.concurrent.DefaultPromise
- touch() - Method in class io.netty5.util.AbstractReferenceCounted
- touch() - Method in interface io.netty5.util.ReferenceCounted
-
Records the current access location of this object for debugging purposes.
- touch(Object) - Method in interface io.netty5.util.ReferenceCounted
-
Records the current access location of this object with an additional arbitrary information for debugging purposes.
- touch(Object) - Method in interface io.netty5.util.Resource
-
Record the current access location for debugging purposes.
- touch(Object, Object) - Static method in interface io.netty5.util.Resource
-
Record the current access location for debugging purposes.
- touch(T) - Static method in class io.netty5.util.ReferenceCountUtil
-
Tries to call
ReferenceCounted.touch()if the specified message implementsReferenceCounted. - touch(T, Object) - Static method in class io.netty5.util.ReferenceCountUtil
-
Tries to call
ReferenceCounted.touch(Object)if the specified message implementsReferenceCounted. - toUpperCase() - Method in class io.netty5.util.AsciiString
-
Converts the characters in this string to uppercase, using the default Locale.
- trace(String) - Method in interface io.netty5.util.internal.logging.InternalLogger
-
Log a message at the TRACE level.
- trace(String, Object) - Method in interface io.netty5.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.netty5.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.netty5.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.netty5.util.internal.logging.InternalLogger
-
Log an exception (throwable) at the TRACE level with an accompanying message.
- trace(Throwable) - Method in class io.netty5.util.internal.logging.AbstractInternalLogger
- trace(Throwable) - Method in interface io.netty5.util.internal.logging.InternalLogger
-
Log an exception (throwable) at the TRACE level.
- TRACE - io.netty5.util.internal.logging.InternalLogLevel
-
'TRACE' log level.
- track(T) - Method in class io.netty5.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.netty5.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.netty5.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.netty5.util.internal.StringUtil
-
Trim optional white-space characters from the specified value, according to RFC-7230.
- tryCancel(Promise<?>, InternalLogger) - Static method in class io.netty5.util.internal.PromiseNotificationUtil
- tryFailure(Promise<?>, Throwable, InternalLogger) - Static method in class io.netty5.util.internal.PromiseNotificationUtil
- tryFailure(Throwable) - Method in class io.netty5.util.concurrent.DefaultPromise
- tryFailure(Throwable) - Method in interface io.netty5.util.concurrent.Promise
-
Marks this promise as a failure and notifies all listeners.
- tryLoadClasses(Class<?>, Class<?>...) - Static method in class io.netty5.util.internal.ClassInitializerUtil
-
Preload the given classes and so ensure the
ClassLoaderhas these loaded after this method call. - tryPropagatingDispose(Object) - Static method in class io.netty5.util.internal.SilentDispose
-
Attempt to dispose of whatever the given object is, but only if it is disposable.
- trySetAccessible(AccessibleObject, boolean) - Static method in class io.netty5.util.internal.ReflectionUtil
-
Try to call
AccessibleObject.setAccessible(boolean)but will catch anySecurityExceptionandInaccessibleObjectExceptionand return it. - trySilentDispose(Object, InternalLogger) - Static method in class io.netty5.util.internal.SilentDispose
-
Attempt to dispose of whatever the given object is, but only if it is disposable.
- trySuccess(Promise<? super V>, V, InternalLogger) - Static method in class io.netty5.util.internal.PromiseNotificationUtil
- trySuccess(V) - Method in class io.netty5.util.concurrent.DefaultPromise
- trySuccess(V) - Method in interface io.netty5.util.concurrent.Promise
-
Marks this future as a success and notifies all listeners.
- TypeParameterMatcher - Class in io.netty5.util.internal
U
- unescapeCsv(CharSequence) - Static method in class io.netty5.util.internal.StringUtil
-
Unescapes the specified escaped CSV field, if necessary according to RFC-4180.
- unescapeCsvFields(CharSequence) - Static method in class io.netty5.util.internal.StringUtil
-
Unescapes the specified escaped CSV fields according to RFC-4180.
- unknownStackTrace(T, Class<?>, String) - Static method in class io.netty5.util.internal.ThrowableUtil
- unmodifiableMap(ByteObjectMap<V>) - Static method in class io.netty5.util.collection.ByteCollections
-
Creates an unmodifiable wrapper around the given map.
- unmodifiableMap(CharObjectMap<V>) - Static method in class io.netty5.util.collection.CharCollections
-
Creates an unmodifiable wrapper around the given map.
- unmodifiableMap(IntObjectMap<V>) - Static method in class io.netty5.util.collection.IntCollections
-
Creates an unmodifiable wrapper around the given map.
- unmodifiableMap(LongObjectMap<V>) - Static method in class io.netty5.util.collection.LongCollections
-
Creates an unmodifiable wrapper around the given map.
- unmodifiableMap(ShortObjectMap<V>) - Static method in class io.netty5.util.collection.ShortCollections
-
Creates an unmodifiable wrapper around the given map.
- UnorderedThreadPoolEventExecutor - Class in io.netty5.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.netty5.util.concurrent.UnorderedThreadPoolEventExecutor
- UnorderedThreadPoolEventExecutor(int, RejectedExecutionHandler) - Constructor for class io.netty5.util.concurrent.UnorderedThreadPoolEventExecutor
- UnorderedThreadPoolEventExecutor(int, ThreadFactory) - Constructor for class io.netty5.util.concurrent.UnorderedThreadPoolEventExecutor
- UnorderedThreadPoolEventExecutor(int, ThreadFactory, RejectedExecutionHandler) - Constructor for class io.netty5.util.concurrent.UnorderedThreadPoolEventExecutor
- UnsafeAccess - Annotation Type in io.netty5.util.internal
-
Marker annotation for internal Netty classes that gives them permission to directly access the
Unsafeinstance, if available. - unsafeOffset() - Method in class io.netty5.util.internal.ReferenceCountUpdater
- UnstableApi - Annotation Type in io.netty5.util.internal
-
Indicates a public API that can change at any time (even in minor/bugfix releases).
- unwrapUnsafeOrNull() - Static method in class io.netty5.util.internal.PlatformDependent
- updateLastExecutionTime() - Method in class io.netty5.util.concurrent.SingleThreadEventExecutor
-
Updates the internal timestamp that tells when a submitted task was executed most recently.
- updater() - Method in class io.netty5.util.internal.ReferenceCountUpdater
- usedDirectMemory() - Static method in class io.netty5.util.internal.PlatformDependent
-
Returns the current memory reserved for direct buffer allocation.
- useDirectBufferNoCleaner() - Static method in class io.netty5.util.internal.PlatformDependent
V
- value() - Method in interface io.netty5.util.collection.ByteObjectMap.PrimitiveEntry
-
Gets the value for this entry.
- value() - Method in interface io.netty5.util.collection.CharObjectMap.PrimitiveEntry
-
Gets the value for this entry.
- value() - Method in interface io.netty5.util.collection.IntObjectMap.PrimitiveEntry
-
Gets the value for this entry.
- value() - Method in interface io.netty5.util.collection.LongObjectMap.PrimitiveEntry
-
Gets the value for this entry.
- value() - Method in interface io.netty5.util.collection.ShortObjectMap.PrimitiveEntry
-
Gets the value for this entry.
- valueOf(Class<?>, String) - Static method in class io.netty5.util.AttributeKey
- valueOf(Class<?>, String) - Method in class io.netty5.util.ConstantPool
- valueOf(String) - Static method in class io.netty5.util.AttributeKey
-
Returns the singleton instance of the
AttributeKeywhich has the specifiedname. - valueOf(String) - Method in class io.netty5.util.ConstantPool
-
Returns the
Constantwhich is assigned to the specifiedname. - valueOf(String) - Static method in enum io.netty5.util.internal.logging.InternalLogLevel
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum io.netty5.util.ResourceLeakDetector.Level
-
Returns the enum constant of this type with the specified name.
- values() - Method in class io.netty5.util.collection.ByteObjectHashMap
- values() - Method in class io.netty5.util.collection.CharObjectHashMap
- values() - Method in class io.netty5.util.collection.IntObjectHashMap
- values() - Method in class io.netty5.util.collection.LongObjectHashMap
- values() - Method in class io.netty5.util.collection.ShortObjectHashMap
- values() - Static method in enum io.netty5.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.netty5.util.ResourceLeakDetector.Level
-
Returns an array containing the constants of this enum type, in the order they are declared.
- Version - Class in io.netty5.util
-
Retrieves the version information of available Netty artifacts.
W
- wakesUpForTask(Runnable) - Method in class io.netty5.util.concurrent.SingleThreadEventExecutor
-
Returns
trueifSingleThreadEventExecutor.wakeup(boolean)should be called for thisRunnable,falseotherwise. - wakeup(boolean) - Method in class io.netty5.util.concurrent.SingleThreadEventExecutor
- warn(String) - Method in interface io.netty5.util.internal.logging.InternalLogger
-
Log a message at the WARN level.
- warn(String, Object) - Method in interface io.netty5.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.netty5.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.netty5.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.netty5.util.internal.logging.InternalLogger
-
Log an exception (throwable) at the WARN level with an accompanying message.
- warn(Throwable) - Method in class io.netty5.util.internal.logging.AbstractInternalLogger
- warn(Throwable) - Method in interface io.netty5.util.internal.logging.InternalLogger
-
Log an exception (throwable) at the WARN level.
- WARN - io.netty5.util.internal.logging.InternalLogLevel
-
'WARN' log level.
- whenComplete(BiConsumer<? super V, ? super Throwable>) - Method in class io.netty5.util.concurrent.DefaultPromise
- whenComplete(BiConsumer<? super V, ? super Throwable>) - Method in interface io.netty5.util.concurrent.FutureCompletionStage
- whenCompleteAsync(BiConsumer<? super V, ? super Throwable>) - Method in class io.netty5.util.concurrent.DefaultPromise
- whenCompleteAsync(BiConsumer<? super V, ? super Throwable>) - Method in interface io.netty5.util.concurrent.FutureCompletionStage
- whenCompleteAsync(BiConsumer<? super V, ? super Throwable>, Executor) - Method in class io.netty5.util.concurrent.DefaultPromise
- whenCompleteAsync(BiConsumer<? super V, ? super Throwable>, Executor) - Method in interface io.netty5.util.concurrent.FutureCompletionStage
- willCleanupFastThreadLocals() - Method in class io.netty5.util.concurrent.FastThreadLocalThread
- willCleanupFastThreadLocals(Thread) - Static method in class io.netty5.util.concurrent.FastThreadLocalThread
- WORKER_STATE_INIT - Static variable in class io.netty5.util.HashedWheelTimer
- WORKER_STATE_SHUTDOWN - Static variable in class io.netty5.util.HashedWheelTimer
- WORKER_STATE_STARTED - Static variable in class io.netty5.util.HashedWheelTimer
All Classes All Packages