# Package org.apache.solr.common.util

Common utility classes reused on both clients & server.

See: Description

Interface Summary
Cache<K,V>
ContentStream
ExecutorUtil.InheritableThreadLocalProvider: Any class which wants to carry forward the threadlocal values to the threads run by threadpools must implement this interface and the implementation should be registered here
JavaBinCodec.ObjectResolver
JavaBinCodec.WritableDocFields
JsonRecordReader.Handler: Implement this interface to stream records as and when one is found.
RetryUtil.BooleanRetryCmd
RetryUtil.RetryCmd

Class Summary
Base64: Static methods for translating Base64 encoded strings to byte arrays and vice-versa.
ByteUtils
ContentStreamBase: Three concrete implementations for ContentStream - one for File/URL/String
ContentStreamBase.ByteArrayStream: Construct a `ContentStream` from a `File`
ContentStreamBase.FileStream: Construct a `ContentStream` from a `File`
ContentStreamBase.StringStream: Construct a `ContentStream` from a `String`
ContentStreamBase.URLStream: Construct a `ContentStream` from a `URL` This uses a `URLConnection` to get the content stream
DataInputInputStream: An abstract DataInput that extends InputStream
ExecutorUtil
ExecutorUtil.MDCAwareThreadPoolExecutor
FastInputStream: Single threaded buffered InputStream Internal Solr use only, subject to change.
FastOutputStream: Single threaded buffered OutputStream Internal Solr use only, subject to change.
Hash: Fast, well distributed, cross-platform hash functions.
Hash.LongPair: 128 bits of state
IOUtils
JavaBinCodec: The class is designed to optimaly serialize/deserialize any supported types in Solr response.
JavaBinCodec.StringBytes
JavaBinCodec.StringCache
JsonRecordReader: A Streaming parser for json to emit one record at a time.
NamedList<T>: A simple container class for modeling an ordered list of name/value pairs.
NamedList.NamedListEntry<T>: Helper class implementing Map.Entry<String, T> to store the key-value relationship in NamedList (the keys of which are String-s)
ObjectReleaseTracker
Pair<K,V>
RetryUtil
SimpleOrderedMap<T>: `SimpleOrderedMap` is a `NamedList` where access by key is more important than maintaining order when it comes to representing the held data in other forms, as ResponseWriters normally do.
SolrjNamedThreadFactory
StrUtils
URLUtil
Utils
XML
XMLErrorLogger

Annotation Types Summary
SuppressForbidden: Annotation to suppress forbidden-apis errors inside a whole class, a method, or a field.

## Package org.apache.solr.common.util Description

Common utility classes reused on both clients & server.