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.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.Creates a new Object which references the givenObjectPool.Handleand callsObjectPool.Handle.recycle(Object)once it can be re-used.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.ReferenceCountUpdater<T extends ReferenceCounted>Common logic forReferenceCountedimplementationsA 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 theEventExecutorfor the callingThread.A random number generator isolated to the current thread.Indicates a public API that can change at any time (even in minor/bugfix releases).