Package org.apache.activemq.util
package org.apache.activemq.util
-
ClassDescriptionSimple BitArray to enable setting multiple boolean values efficently Used instead of BitSet because BitSet does not allow for efficent serialization.Holder for many bitArrays - used for message auditVery similar to the java.io.ByteArrayInputStream but this version is not thread safe.Very similar to the java.io.ByteArrayOutputStream but this version is not thread safe and the resulting data is returned in a ByteSequence to avoid an extra byte[] allocation.Used to write and read primitives to and from a ByteSequence.A simple callback object used by objects to provide automatic transactional or exception handling blocks.Optimized ByteArrayInputStream that can be used more than onceOptimized ByteArrayOutputStreamThe strategy that the FactoryFinder uses to find load and instantiate Objects can be changed out by calling the
FactoryFinder.setObjectFactory(org.apache.activemq.util.FactoryFinder.ObjectFactory)
method with a custom implementation of ObjectFactory.The default implementation of Object factory which works well in standalone applications.Generator for Globally unique Strings.A helper class for printing indented textUpdated LongSequenceGenerator that uses an AtomicLongFieldUpdater for performance instead of synchronized methodsLRUCache<K,V> A Simple LRU CacheA bunch of utility methods for working with mapsThe fixed version of the UTF8 encoding function.A listener for service start, stop eventsA helper class used to stop a bunch of services, catching and logging any exceptions and then throwing the first exception when everything is stoped.A helper class for working with services together with a useful base class for service implementations.A very simple stop watch.Class for converting to/from String[] to be used instead of aPropertyEditor
which otherwise causes memory leaks as the JDKPropertyEditorManager
is a static class and has strong references to classes, causing problems in hot-deployment environments.Special converter for String -> Listto be used instead of a PropertyEditor
which otherwise causes memory leaks as the JDKPropertyEditorManager
is a static class and has strong references to classes, causing problems in hot-deployment environments.Interface implemented by services that can be suspended and resumed.Utility methods for working with thread poolsExecutorService
.Time utilities.Type conversion support for ActiveMQ.Utility class that provides methods for parsing URI's This class can be used to split composite URI's into their component parts and is used to extract any URI options from each URI in order to set specific properties on Beans.A composite URI can be split into one or more CompositeData object which each represent the individual URIs that comprise the composite one.