Top Description Interfaces Annotations Classes
module io.netty5.common

Package io.netty5.util.internal


Internal-use-only utilities which is not allowed to be used outside Netty.

Interface Summary

Modifier and TypeInterface and Description
pack-priv interface
Cleaner

Allows to free direct ByteBuffers.

public interface
public interface
PriorityQueueNode

Provides methods for DefaultPriorityQueue to maintain internal state.

Annotation Summary

Modifier and TypeAnnotation and Description
public @interface
UnsafeAccess

Marker annotation for internal Netty classes that gives them permission to directly access the Unsafe instance, if available.

public @interface
UnstableApi

Indicates a public API that can change at any time (even in minor/bugfix releases).

Class Summary

Modifier and TypeClass and Description
public class
public class
ClassInitializerUtil

Utility which ensures that classes are loaded by the ClassLoader.

pack-priv class
CleanerJava9

Provide a way to clean a ByteBuffer on Java9+.

public class
public class
DefaultPriorityQueue<
The object that is maintained in the queue.
T extends PriorityQueueNode
>

A priority queue which uses natural ordering of elements.

public class
public class
pack-priv class
Hidden

Contains classes that must have public visibility but are not public API.

public class
LongLongHashMap

Internal primitive map implementation that is specifically optimised for the runs availability map use case in PoolChunk.

public class
LongPriorityQueue

Internal primitive priority queue, used by PoolChunk.

public class
public class
MathUtil

Math utility methods.

public class
NativeLibraryLoader

Helper class to load JNI resources.

pack-priv class
public abstract class
ObjectPool<
the type of the pooled object
T
>

Light-weight object pool.

public class
ObjectUtil

A grab-bag of useful utility methods.

public class
OutOfDirectMemoryError

OutOfMemoryError that is throws if PlatformDependent#allocateDirectNoCleaner(int) can not allocate a new ByteBuffer due memory restrictions.

public class
PendingWrite

Some pending write which should be picked up later.

public class
PlatformDependent

Utility that detects various properties specific to the current runtime environment, such as Java version and the availability of the sun.misc.Unsafe object.

pack-priv class
PlatformDependent0

The PlatformDependent operations which requires access to sun.misc.*.

public class
PromiseNotificationUtil

Internal utilities to notify Promises.

public class
RecyclableArrayList

A simple list which is recyclable.

public abstract class
ReferenceCountUpdater<T extends ReferenceCounted>

Common logic for ReferenceCounted implementations

public class
public class
ResourcesUtil

A utility class that provides various common operations and constants related to loading resources

public class
SendFromSupplier<T extends Resource<T>>

public class
SilentDispose

Utility class for disposing of resources without propagating any exception that Resource#close() might throw.

public class
SocketUtils

Provides socket operations with privileges enabled.

public class
StringUtil

String utility class.

public class
SystemPropertyUtil

A collection of utility methods to retrieve and parse the values of the Java system properties.

public class
ThreadExecutorMap

Allow to retrieve the EventExecutor for the calling Thread.

public class
public abstract class