Package io.netty.util.internal
package io.netty.util.internal
Internal-use-only utilities which is not allowed to be used
outside Netty.
-
ClassDescriptionUtility which ensures that classes are loaded by the
ClassLoader
.Allows to free directByteBuffer
s.Allows to free directByteBuffer
by using Cleaner.Provide a way to clean a ByteBuffer on Java9+.Deprecated.For removal in Netty 4.2.DefaultPriorityQueue<T extends PriorityQueueNode>A priority queue which uses natural ordering of elements.Deprecated.For removal in netty 4.2The internal data structure that stores the thread-local variables for Netty and allFastThreadLocal
s.Counter for long.Math utility methods.Helper class to load JNI resources.A Utility to Call theSystem.load(String)
orSystem.loadLibrary(String)
.ObjectPool<T>Light-weight object pool.Handle for an pooledObject
that will be used to notify theObjectPool
once it can reuse the pooledObject
again.Creates a new Object which references the givenObjectPool.Handle
and callsObjectPool.Handle.recycle(Object)
once it can be re-used.A grab-bag of useful utility methods.OutOfMemoryError
that is throws ifPlatformDependent.allocateDirectNoCleaner(int)
can not allocate a newByteBuffer
due memory restrictions.Some pending write which should be picked up later.Utility that detects various properties specific to the current runtime environment, such as Java version and the availability of thesun.misc.Unsafe
object.ThePlatformDependent
operations which requires access tosun.misc.*
.Provides methods forDefaultPriorityQueue
to maintain internal state.Internal utilities to notifyPromise
s.A simple list which is recyclable.ReferenceCountUpdater<T extends ReferenceCounted>Common logic forReferenceCounted
implementationsA utility class that provides various common operations and constants related to loading resourcesProvides socket operations with privileges enabled.String utility class.Annotation to suppress the Java 6 source code requirement checks for a method.Utility class for SWAR (SIMD within a register) operations.A collection of utility methods to retrieve and parse the values of the Java system properties.Allow to retrieve theEventExecutor
for the callingThread
.A random number generator isolated to the current thread.Deprecated.This class will be removed in the future.Indicates a public API that can change at any time (even in minor/bugfix releases).