# Package org.apache.solr.common.util

Common utility classes reused on both clients & server.

See: Description

- Interface Summary
  Interface | Description
  --- | ---
  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 | Allows extension of `JavaBinCodec` to support serialization of arbitrary data types.
  JavaBinCodec.WritableDocFields |
  JsonRecordReader.Handler | Implement this interface to stream records as and when one is found.
  RetryUtil.BooleanRetryCmd |
  RetryUtil.RetryCmd |

- Class Summary
  Class | Description
  --- | ---
  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 | Defines a space-efficient serialization/deserialization format for transferring data.
  JavaBinCodec.StringBytes |
  JavaBinCodec.StringCache |
  JsonRecordReader | A Streaming parser for json to emit one record at a time.
  MapBackedCache<K,V> |
  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<T1,T2> |
  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
  Annotation Type | Description
  --- | ---
  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.

Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.