Package org.apache.mina.util
Miscellaneous utility classes
- Author:
- Apache MINA Project
-
Interface Summary Interface Description ExpirationListener<E> A listener for expired object events. -
Class Summary Class Description AvailablePortFinder Finds currently available server ports.Base64 Provides Base64 encoding and decoding as defined by RFC 2045.BasicThreadFactory Utility for creating thread factoriesCircularQueue<E> A unbounded circular queue based on array.ConcurrentHashSet<E> AConcurrentHashMap
-backedSet
.CopyOnWriteMap<K,V> A thread-safe version ofMap
in which all operations that change the Map are implemented by making a new copy of the underlying Map.DaemonThreadFactory A Thread Factory that creates Daemon threadsDefaultExceptionMonitor A defaultExceptionMonitor
implementation that logs uncaught exceptions usingLogger
.ExceptionMonitor Monitors uncaught exceptions.ExpiringMap<K,V> A map with expiration.IdentityHashSet<E> AnIdentityHashMap
-backedSet
.LazyInitializedCacheMap<K,V> This map is specially useful when reads are much more frequent than writes and if the cost of instantiating the values is high like allocating anIoBuffer
for example.LazyInitializer<V> An abstract class which provides semantics for an object which will be only fully initialized when requested to.Log4jXmlFormatter Implementation ofFormatter
that generates xml in the log4j format.MapBackedSet<E> NamePreservingRunnable SynchronizedQueue<E> A decorator that makes the specifiedQueue
thread-safe.Transform Utility class for working with xml data Implementation is heavily based on org.apache.log4j.helpers.Transform -
Exception Summary Exception Description StackInspector Utility to retrieving the thread stack debug information