Package io.netty.util.internal
package io.netty.util.internal
Internal-use-only utilities which is not allowed to be used
outside Netty.
-
ClassDescriptionCalculate sizes in a adaptive way.AtomicReferenceCountUpdater<T extends ReferenceCounted>Utility which ensures that classes are loaded by the
ClassLoader.Encapsulates a directByteBufferand its mechanism for immediate deallocation, if any.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 allFastThreadLocals.Counter for long.Math utility methods.Helper class to load JNI resources.ObjectPool<T>Light-weight object pool.Handle for an pooledObjectthat will be used to notify theObjectPoolonce it can reuse the pooledObjectagain.Deprecated.For removal.A grab-bag of useful utility methods.OutOfMemoryErrorthat is throws ifPlatformDependent.allocateDirectNoCleaner(int)can not allocate a newByteBufferdue 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.Unsafeobject.Provides methods forDefaultPriorityQueueto maintain internal state.Internal utilities to notifyPromises.A simple list which is recyclable.Monomorphic reference counter implementation that always use the most efficient available atomic updater.ReferenceCountUpdater<T extends ReferenceCounted>Deprecated.Instead of extending this class, prefer instead to include aRefCntfield and delegate to that.A utility class that provides various common operations and constants related to loading resourcesProvides socket operations with privileges enabled.String utility class.Deprecated.Annotation to suppress the Java 8 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 theEventExecutorfor the callingThread.Deprecated.UnsafeReferenceCountUpdater<T extends ReferenceCounted>Indicates a public API that can change at any time (even in minor/bugfix releases).VarHandleReferenceCountUpdater<T extends ReferenceCounted>