Package io.netty.util.internal
Internal-use-only utilities which is not allowed to be used
outside Netty.
-
Interface Summary Interface Description CleanableDirectBuffer Encapsulates a directByteBufferand its mechanism for immediate deallocation, if any.Cleaner Allows to free directByteBuffers.LongCounter Counter for long.ObjectPool.Handle<T> Handle for an pooledObjectthat will be used to notify theObjectPoolonce it can reuse the pooledObjectagain.ObjectPool.ObjectCreator<T> Deprecated. For removal.PriorityQueue<T> PriorityQueueNode Provides methods forDefaultPriorityQueueto maintain internal state. -
Class Summary Class Description AdaptiveCalculator Calculate sizes in a adaptive way.AppendableCharSequence AtomicReferenceCountUpdater<T extends ReferenceCounted> BoundedInputStream ClassInitializerUtil Utility which ensures that classes are loaded by theClassLoader.CleanerJava24Linker CleanerJava24Linker.CleanableDirectBufferImpl CleanerJava25 Provide a way to clean directByteBufferinstances on Java 24+, where we don't haveUnsafeavailable, but we have memory segments.CleanerJava25.CleanableDirectBufferImpl CleanerJava6 Allows to free directByteBufferby using Cleaner.CleanerJava6.CleanableDirectBufferImpl CleanerJava9 Provide a way to clean a ByteBuffer on Java9+.CleanerJava9.CleanableDirectBufferImpl ConcurrentSet<E> Deprecated. For removal in Netty 4.2.ConstantTimeUtils DefaultPriorityQueue<T extends PriorityQueueNode> A priority queue which uses natural ordering of elements.DirectCleaner DirectCleaner.CleanableDirectBufferImpl EmptyArrays EmptyPriorityQueue<T> IntegerHolder Deprecated. For removal in netty 4.2InternalThreadLocalMap The internal data structure that stores the thread-local variables for Netty and allFastThreadLocals.LongAdderCounter Deprecated. please useLongAdderinstead.LongLongHashMap MacAddressUtil MathUtil Math utility methods.NativeLibraryLoader Helper class to load JNI resources.NativeLibraryLoader.NoexecVolumeDetector NativeLibraryUtil A Utility to Call theSystem.load(String)orSystem.loadLibrary(String).NoOpTypeParameterMatcher ObjectCleaner Deprecated. The object cleaner is deprecated for removal.ObjectCleaner.AutomaticCleanerReference ObjectPool<T> Light-weight object pool.ObjectPool.RecyclerObjectPool<T> Deprecated. ObjectUtil A grab-bag of useful utility methods.PendingWrite Some pending write which should be picked up later.PlatformDependent Utility that detects various properties specific to the current runtime environment, such as Java version and the availability of thesun.misc.Unsafeobject.PlatformDependent.Mpsc PlatformDependent0 ThePlatformDependentoperations which requires access tosun.misc.*.PromiseNotificationUtil Internal utilities to notifyPromises.ReadOnlyIterator<T> RecyclableArrayList A simple list which is recyclable.RefCnt Monomorphic reference counter implementation that always use the most efficient available atomic updater.RefCnt.AtomicRefCnt RefCnt.UnsafeRefCnt RefCnt.VarHandleRefCnt ReferenceCountUpdater<T extends ReferenceCounted> Deprecated. Instead of extending this class, prefer instead to include aRefCntfield and delegate to that.ReflectionUtil ResourcesUtil A utility class that provides various common operations and constants related to loading resourcesSocketUtils Provides socket operations with privileges enabled.StringUtil String utility class.SWARUtil Utility class for SWAR (SIMD within a register) operations.SystemPropertyUtil A collection of utility methods to retrieve and parse the values of the Java system properties.ThreadExecutorMap Allow to retrieve theEventExecutorfor the callingThread.ThreadLocalRandom Deprecated. ThrowableUtil TypeParameterMatcher TypeParameterMatcher.ReflectiveMatcher UnpaddedInternalThreadLocalMap Deprecated. This class will be removed in the future.UnsafeReferenceCountUpdater<T extends ReferenceCounted> VarHandleFactory VarHandleReferenceCountUpdater<T extends ReferenceCounted> -
Enum Summary Enum Description ReferenceCountUpdater.UpdaterType -
Error Summary Error Description OutOfDirectMemoryError OutOfMemoryErrorthat is throws ifPlatformDependent.allocateDirect(int)can not allocate a newByteBufferdue memory restrictions. -
Annotation Types Summary Annotation Type Description SuppressJava6Requirement Deprecated. SuppressJava8Requirement Annotation to suppress the Java 8 source code requirement checks for a method.UnstableApi Indicates a public API that can change at any time (even in minor/bugfix releases).