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 byObjectSizeEstimator
for 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 SchedulesTimerTask
s 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 withCharset
and its relevant classes.DebugUtil Determines if Netty is running in a debug mode or not.DefaultObjectSizeEstimator The defaultObjectSizeEstimator
implementation for general purpose.ExternalResourceUtil A utility class that provides the convenient shutdown ofExternalResourceReleasable
s.HashedWheelTimer ATimer
optimized for approximated I/O timeout scheduling.NetUtil A class that holds a number of network-related constants.ThreadRenamingRunnable ARunnable
that changes the current thread name and reverts it back when its execution ends.Version Provides the version information of Netty.VirtualExecutorService A delegatingExecutorService
with its own termination management.