Package org.jboss.netty.util
Utility classes used across multiple packages.
-
Interface Summary Interface Description EstimatableObjectWrapper Represents an object which contains another object that needs to be taken into account byObjectSizeEstimatorfor more accurate object size estimation.ExternalResourceReleasable A common interface for a class which depends on external resources that need explicit release or shutdown.ObjectSizeEstimator Estimates the size of an object in bytes.ThreadNameDeterminer Overrides the thread name proposed byThreadRenamingRunnable.Timeout Timer SchedulesTimerTasks for one-time future execution in a background thread.TimerTask A task which is executed after the delay specified withTimer.newTimeout(TimerTask, long, TimeUnit). -
Class Summary Class Description CharsetUtil A utility class that provides various common operations and constants related withCharsetand its relevant classes.DebugUtil Determines if Netty is running in a debug mode or not.DefaultObjectSizeEstimator The defaultObjectSizeEstimatorimplementation for general purpose.ExternalResourceUtil A utility class that provides the convenient shutdown ofExternalResourceReleasables.HashedWheelTimer ATimeroptimized for approximated I/O timeout scheduling.HashedWheelTimer.HashedWheelBucket Bucket that stores HashedWheelTimeouts.HashedWheelTimer.HashedWheelTimeout MapBackedSet<E> AMap-backedSet.NetUtil A class that holds a number of network-related constants.ThreadRenamingRunnable ARunnablethat changes the current thread name and reverts it back when its execution ends.Version Provides the version information of Netty.VirtualExecutorService A delegatingExecutorServicewith its own termination management.