Top Description Interfaces Annotations Classes
[default module]

Package io.netty.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
LongCounter

Counter for long.

public interface
public interface
PriorityQueueNode

Provides methods for DefaultPriorityQueue to maintain internal state.

Annotation Summary

Modifier and TypeAnnotation and Description
public @interface
SuppressJava6Requirement

Annotation to suppress the Java 6 source code requirement checks for a method.

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
CleanerJava6

Allows to free direct ByteBuffer by using Cleaner.

pack-priv class
CleanerJava9

Provide a way to clean a ByteBuffer on Java9+.

public class
ConcurrentSet<E>

Deprecated For removal in Netty 4.2. Please use ConcurrentHashMap#newKeySet() instead
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
IntegerHolder

Deprecated For removal in netty 4.2
public class
InternalThreadLocalMap

Deprecated as a consequence of UnpaddedInternalThreadLocalMap being deprecated.
The internal data structure that stores the thread-local variables for Netty and all FastThreadLocals.
pack-priv class
public class
public class
MathUtil

Math utility methods.

public class
NativeLibraryLoader

Helper class to load JNI resources.

pack-priv class
public class
public class
ObjectCleaner

Allows a way to register some Runnable that will executed once there are no references to an Object anymore.

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
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
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
ThreadLocalRandom

A random number generator isolated to the current thread.

public class
public abstract class
pack-priv class
UnpaddedInternalThreadLocalMap

Deprecated This class will be removed in the future.