# Package org.apache.solr.util

Common utility classes used throughout Solr

See: Description

- Interface Summary
  Interface | Description
  --- | ---
  ConcurrentLFUCache.EvictionListener<K,V> |
  ConcurrentLRUCache.EvictionListener<K,V> |
  FSHDFSUtils.CallerInfo |
  RTimer.TimerImpl |
  SolrCLI.Tool | Defines the interface to a Solr tool that can be run from this command-line app.
  SolrLogLayout.TG | Add this interface to a thread group and the string returned by getTag() will appear in log statements of any threads under that group.

- Class Summary
  Class | Description
  --- | ---
  AdjustableSemaphore |
  BoundedTreeSet<E> | A TreeSet that ensures it never grows beyond a max size.
  CommandOperation |
  ConcurrentLFUCache<K,V> | A LFU cache implementation based upon ConcurrentHashMap.
  ConcurrentLFUCache.CacheEntry<K,V> |
  ConcurrentLFUCache.Stats |
  ConcurrentLRUCache<K,V> | A LRU cache implementation based upon ConcurrentHashMap and other techniques to reduce contention and synchronization overhead to utilize multiple CPU cores more effectively.
  ConcurrentLRUCache.CacheEntry<K,V> |
  ConcurrentLRUCache.Stats |
  CryptoKeys | A utility class to verify signatures
  CryptoKeys.RSAKeyPair |
  DateMathParser | A Simple Utility class for parsing "math" like strings relating to Dates.
  DefaultSolrThreadFactory |
  DistanceUnits | Used with a spatial field type for all distance measurements.
  DOMUtil |
  FastWriter | Single threaded BufferedWriter Internal Solr use only, subject to change.
  FileUtils |
  FSHDFSUtils | Borrowed from Apache HBase to recover an HDFS lease.
  HdfsUtil |
  LongPriorityQueue | A native long priority queue.
  MapListener<K,V> | Wraps another map, keeping track of each key that was seen via `MapListener.get(Object)` or `MapListener.remove(Object)`.
  NumberUtils |
  PrimUtils | Utilities for primitive Java data types.
  PrimUtils.IntComparator |
  PropertiesInputStream |
  PropertiesOutputStream |
  PropertiesUtil | Breaking out some utility methods into a separate class as part of SOLR-4196.
  RecordingJSONParser |
  RefCounted<Type> | Keep track of a reference count on a resource and close it when the count hits zero.
  RegexFileFilter | Accepts any file whose name matches the pattern
  RTimer | A simple timer.
  RTimerTree | A recursive timer.
  SimplePostTool | A simple utility class for posting raw updates to a Solr server, has a main method so it can be run on the command line.
  SimplePostTool.BAOS |
  SolrCLI | Command-line utility for working with Solr.
  SolrCLI.ApiTool | Used to send an arbitrary HTTP request to a Solr API endpoint.
  SolrCLI.AssertTool | Asserts various conditions and exists with error code if fails, else continues with no output
  SolrCLI.ConfigSetDownloadTool |
  SolrCLI.ConfigSetUploadTool |
  SolrCLI.ConfigTool | Sends a POST to the Config API to perform a specified action.
  SolrCLI.CreateCollectionTool | Supports create_collection command in the bin/solr script.
  SolrCLI.CreateCoreTool |
  SolrCLI.CreateTool |
  SolrCLI.DeleteTool |
  SolrCLI.HealthcheckTool | Requests health information about a specific collection in SolrCloud.
  SolrCLI.RunExampleTool | Supports an interactive session with the user to launch (or relaunch the -e cloud example)
  SolrCLI.SolrCloudTool | Helps build SolrCloud aware tools by initializing a CloudSolrClient instance before running the tool.
  SolrCLI.StatusTool | Get the status of a Solr server.
  SolrCLI.ToolBase |
  SolrCLI.UtilsTool |
  SolrCLI.ZkCpTool |
  SolrCLI.ZkLsTool |
  SolrCLI.ZkMvTool |
  SolrCLI.ZkRmTool |
  SolrLogLayout |
  SolrLogLayout.CoreInfo |
  SolrLogLayout.Method |
  SolrPluginUtils | Utilities that may be of use to RequestHandlers.
  SolrPluginUtils.DisjunctionMaxQueryParser | A subclass of SolrQueryParser that supports aliasing fields for constructing DisjunctionMaxQueries.
  SolrPluginUtils.DisjunctionMaxQueryParser.Alias | A simple container for storing alias info
  SolrPluginUtils.IdentityRegenerator | A CacheRegenerator that can be used whenever the items in the cache are not dependant on the current searcher.
  SpatialUtils | Utility methods pertaining to spatial.
  SystemIdResolver | This is a helper class to support resolving of XIncludes or other hrefs inside XML files on top of a `ResourceLoader`.
  TestInjection | Allows random faults to be injected in running code during test runs.
  TimeOut |
  TimeZoneUtils | Simple utilities for working with TimeZones
  VersionedFile |

- Enum Summary
  Enum | Description
  --- | ---
  PivotListEntry | Enum for modeling the elements of a (nested) pivot entry as expressed in a NamedList

- Error Summary
  Error | Description
  --- | ---
  TestInjection.TestShutdownFailError |

## Package org.apache.solr.util Description

Common utility classes used throughout Solr

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