1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
5 <!-- Generated by javadoc (version 1.6.0_27) on Thu Oct 17 21:44:58 EDT 2013 -->
6 <meta http-equiv="Content-Type" content="text/html" charset="utf-8">
7 <title>org.apache.solr.util (Solr 4.5.1 API)</title>
8 <meta name="date" content="2013-10-17">
9 <link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
12 <script type="text/javascript"><!--
13 if (location.href.indexOf('is-external=true') == -1) {
14 parent.document.title="org.apache.solr.util (Solr 4.5.1 API)";
19 <div>JavaScript is disabled on your browser.</div>
21 <!-- ========= START OF TOP NAVBAR ======= -->
22 <div class="topNav"><a name="navbar_top">
24 </a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
27 <ul class="navList" title="Navigation">
28 <li><a href="../../../../overview-summary.html">Overview</a></li>
29 <li class="navBarCell1Rev">Package</li>
31 <li><a href="package-use.html">Use</a></li>
32 <li><a href="package-tree.html">Tree</a></li>
33 <li><a href="../../../../deprecated-list.html">Deprecated</a></li>
34 <li><a href="../../../../help-doc.html">Help</a></li>
39 <li><a href="../../../../org/apache/solr/update/processor/package-summary.html">PREV PACKAGE</a></li>
40 <li><a href="../../../../org/apache/solr/util/plugin/package-summary.html">NEXT PACKAGE</a></li>
43 <li><a href="../../../../index.html?org/apache/solr/util/package-summary.html" target="_top">FRAMES</a></li>
44 <li><a href="package-summary.html" target="_top">NO FRAMES</a></li>
46 <ul class="navList" id="allclasses_navbar_top">
47 <li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
50 <script type="text/javascript"><!--
51 allClassesLink = document.getElementById("allclasses_navbar_top");
53 allClassesLink.style.display = "block";
56 allClassesLink.style.display = "none";
61 <a name="skip-navbar_top">
64 <!-- ========= END OF TOP NAVBAR ========= -->
66 <h1 title="Package" class="title">Package org.apache.solr.util</h1>
69 Common utility classes used throughout Solr</div>
71 <p>See: <a href="#package_description">Description</a></p>
73 <div class="contentContainer">
74 <ul class="blockList">
75 <li class="blockList">
76 <table class="packageSummary" border="0" cellpadding="3" cellspacing="0" summary="Interface Summary table, listing interfaces, and an explanation">
77 <caption><span>Interface Summary</span><span class="tabEnd"> </span></caption>
79 <th class="colFirst" scope="col">Interface</th>
80 <th class="colLast" scope="col">Description</th>
84 <td class="colFirst"><a href="../../../../org/apache/solr/util/ConcurrentLFUCache.EvictionListener.html" title="interface in org.apache.solr.util">ConcurrentLFUCache.EvictionListener<K,V></a></td>
85 <td class="colLast"> </td>
88 <td class="colFirst"><a href="../../../../org/apache/solr/util/ConcurrentLRUCache.EvictionListener.html" title="interface in org.apache.solr.util">ConcurrentLRUCache.EvictionListener<K,V></a></td>
89 <td class="colLast"> </td>
92 <td class="colFirst"><a href="../../../../org/apache/solr/util/SolrLogLayout.TG.html" title="interface in org.apache.solr.util">SolrLogLayout.TG</a></td>
94 <div class="block">Add this interface to a thread group and the string returned by getTag()
95 will appear in log statements of any threads under that group.</div>
101 <li class="blockList">
102 <table class="packageSummary" border="0" cellpadding="3" cellspacing="0" summary="Class Summary table, listing classes, and an explanation">
103 <caption><span>Class Summary</span><span class="tabEnd"> </span></caption>
105 <th class="colFirst" scope="col">Class</th>
106 <th class="colLast" scope="col">Description</th>
109 <tr class="altColor">
110 <td class="colFirst"><a href="../../../../org/apache/solr/util/AdjustableSemaphore.html" title="class in org.apache.solr.util">AdjustableSemaphore</a></td>
111 <td class="colLast"> </td>
113 <tr class="rowColor">
114 <td class="colFirst"><a href="../../../../org/apache/solr/util/BCDUtils.html" title="class in org.apache.solr.util">BCDUtils</a></td>
115 <td class="colLast"> </td>
117 <tr class="altColor">
118 <td class="colFirst"><a href="../../../../org/apache/solr/util/BoundedTreeSet.html" title="class in org.apache.solr.util">BoundedTreeSet<E></a></td>
120 <div class="block">A TreeSet that ensures it never grows beyond a max size.</div>
123 <tr class="rowColor">
124 <td class="colFirst"><a href="../../../../org/apache/solr/util/ConcurrentLFUCache.html" title="class in org.apache.solr.util">ConcurrentLFUCache<K,V></a></td>
126 <div class="block">A LFU cache implementation based upon ConcurrentHashMap.</div>
129 <tr class="altColor">
130 <td class="colFirst"><a href="../../../../org/apache/solr/util/ConcurrentLFUCache.Stats.html" title="class in org.apache.solr.util">ConcurrentLFUCache.Stats</a></td>
131 <td class="colLast"> </td>
133 <tr class="rowColor">
134 <td class="colFirst"><a href="../../../../org/apache/solr/util/ConcurrentLRUCache.html" title="class in org.apache.solr.util">ConcurrentLRUCache<K,V></a></td>
136 <div class="block">A LRU cache implementation based upon ConcurrentHashMap and other techniques to reduce
137 contention and synchronization overhead to utilize multiple CPU cores more effectively.</div>
140 <tr class="altColor">
141 <td class="colFirst"><a href="../../../../org/apache/solr/util/ConcurrentLRUCache.Stats.html" title="class in org.apache.solr.util">ConcurrentLRUCache.Stats</a></td>
142 <td class="colLast"> </td>
144 <tr class="rowColor">
145 <td class="colFirst"><a href="../../../../org/apache/solr/util/DateMathParser.html" title="class in org.apache.solr.util">DateMathParser</a></td>
147 <div class="block">A Simple Utility class for parsing "math" like strings relating to Dates.</div>
150 <tr class="altColor">
151 <td class="colFirst"><a href="../../../../org/apache/solr/util/DefaultSolrThreadFactory.html" title="class in org.apache.solr.util">DefaultSolrThreadFactory</a></td>
152 <td class="colLast"> </td>
154 <tr class="rowColor">
155 <td class="colFirst"><a href="../../../../org/apache/solr/util/DOMUtil.html" title="class in org.apache.solr.util">DOMUtil</a></td>
156 <td class="colLast"> </td>
158 <tr class="altColor">
159 <td class="colFirst"><a href="../../../../org/apache/solr/util/EmptyEntityResolver.html" title="class in org.apache.solr.util">EmptyEntityResolver</a></td>
161 <div class="block">This class provides several singletons of entity resolvers used by
162 SAX and StAX in the Java API.</div>
165 <tr class="rowColor">
166 <td class="colFirst"><a href="../../../../org/apache/solr/util/FastWriter.html" title="class in org.apache.solr.util">FastWriter</a></td>
168 <div class="block">Single threaded BufferedWriter
169 Internal Solr use only, subject to change.</div>
172 <tr class="altColor">
173 <td class="colFirst"><a href="../../../../org/apache/solr/util/FileUtils.html" title="class in org.apache.solr.util">FileUtils</a></td>
174 <td class="colLast"> </td>
176 <tr class="rowColor">
177 <td class="colFirst"><a href="../../../../org/apache/solr/util/HdfsUtil.html" title="class in org.apache.solr.util">HdfsUtil</a></td>
178 <td class="colLast"> </td>
180 <tr class="altColor">
181 <td class="colFirst"><a href="../../../../org/apache/solr/util/IOUtils.html" title="class in org.apache.solr.util">IOUtils</a></td>
182 <td class="colLast"> </td>
184 <tr class="rowColor">
185 <td class="colFirst"><a href="../../../../org/apache/solr/util/LongPriorityQueue.html" title="class in org.apache.solr.util">LongPriorityQueue</a></td>
187 <div class="block">A native long priority queue.</div>
190 <tr class="altColor">
191 <td class="colFirst"><a href="../../../../org/apache/solr/util/MapListener.html" title="class in org.apache.solr.util">MapListener<K,V></a></td>
193 <div class="block">Wraps another map, keeping track of each key that was seen via <a href="../../../../org/apache/solr/util/MapListener.html#get(java.lang.Object)"><code>MapListener.get(Object)</code></a> or <a href="../../../../org/apache/solr/util/MapListener.html#remove(java.lang.Object)"><code>MapListener.remove(Object)</code></a>.</div>
196 <tr class="rowColor">
197 <td class="colFirst"><a href="../../../../org/apache/solr/util/NumberUtils.html" title="class in org.apache.solr.util">NumberUtils</a></td>
198 <td class="colLast"> </td>
200 <tr class="altColor">
201 <td class="colFirst"><a href="../../../../org/apache/solr/util/PrimUtils.html" title="class in org.apache.solr.util">PrimUtils</a></td>
203 <div class="block">Utilities for primitive Java data types.</div>
206 <tr class="rowColor">
207 <td class="colFirst"><a href="../../../../org/apache/solr/util/PrimUtils.IntComparator.html" title="class in org.apache.solr.util">PrimUtils.IntComparator</a></td>
208 <td class="colLast"> </td>
210 <tr class="altColor">
211 <td class="colFirst"><a href="../../../../org/apache/solr/util/PropertiesInputStream.html" title="class in org.apache.solr.util">PropertiesInputStream</a></td>
212 <td class="colLast"> </td>
214 <tr class="rowColor">
215 <td class="colFirst"><a href="../../../../org/apache/solr/util/PropertiesOutputStream.html" title="class in org.apache.solr.util">PropertiesOutputStream</a></td>
216 <td class="colLast"> </td>
218 <tr class="altColor">
219 <td class="colFirst"><a href="../../../../org/apache/solr/util/PropertiesUtil.html" title="class in org.apache.solr.util">PropertiesUtil</a></td>
221 <div class="block">Breaking out some utility methods into a separate class as part of SOLR-4196.</div>
224 <tr class="rowColor">
225 <td class="colFirst"><a href="../../../../org/apache/solr/util/RefCounted.html" title="class in org.apache.solr.util">RefCounted<Type></a></td>
227 <div class="block">Keep track of a reference count on a resource and close it when
228 the count hits zero.</div>
231 <tr class="altColor">
232 <td class="colFirst"><a href="../../../../org/apache/solr/util/RegexFileFilter.html" title="class in org.apache.solr.util">RegexFileFilter</a></td>
234 <div class="block">Accepts any file whose name matches the pattern</div>
237 <tr class="rowColor">
238 <td class="colFirst"><a href="../../../../org/apache/solr/util/RTimer.html" title="class in org.apache.solr.util">RTimer</a></td>
240 <div class="block">A recursive timer.</div>
243 <tr class="altColor">
244 <td class="colFirst"><a href="../../../../org/apache/solr/util/SimplePostTool.html" title="class in org.apache.solr.util">SimplePostTool</a></td>
246 <div class="block">A simple utility class for posting raw updates to a Solr server,
247 has a main method so it can be run on the command line.</div>
250 <tr class="altColor">
251 <td class="colFirst"><a href="../../../../org/apache/solr/util/SolrLogLayout.html" title="class in org.apache.solr.util">SolrLogLayout</a></td>
252 <td class="colLast"> </td>
254 <tr class="rowColor">
255 <td class="colFirst"><a href="../../../../org/apache/solr/util/SolrLogLayout.CoreInfo.html" title="class in org.apache.solr.util">SolrLogLayout.CoreInfo</a></td>
256 <td class="colLast"> </td>
258 <tr class="altColor">
259 <td class="colFirst"><a href="../../../../org/apache/solr/util/SolrLogLayout.Method.html" title="class in org.apache.solr.util">SolrLogLayout.Method</a></td>
260 <td class="colLast"> </td>
262 <tr class="rowColor">
263 <td class="colFirst"><a href="../../../../org/apache/solr/util/SolrPluginUtils.html" title="class in org.apache.solr.util">SolrPluginUtils</a></td>
265 <div class="block">Utilities that may be of use to RequestHandlers.</div>
268 <tr class="altColor">
269 <td class="colFirst"><a href="../../../../org/apache/solr/util/SolrPluginUtils.DisjunctionMaxQueryParser.html" title="class in org.apache.solr.util">SolrPluginUtils.DisjunctionMaxQueryParser</a></td>
271 <div class="block">A subclass of SolrQueryParser that supports aliasing fields for
272 constructing DisjunctionMaxQueries.</div>
275 <tr class="rowColor">
276 <td class="colFirst"><a href="../../../../org/apache/solr/util/SolrPluginUtils.DisjunctionMaxQueryParser.Alias.html" title="class in org.apache.solr.util">SolrPluginUtils.DisjunctionMaxQueryParser.Alias</a></td>
278 <div class="block">A simple container for storing alias info</div>
281 <tr class="altColor">
282 <td class="colFirst"><a href="../../../../org/apache/solr/util/SolrPluginUtils.IdentityRegenerator.html" title="class in org.apache.solr.util">SolrPluginUtils.IdentityRegenerator</a></td>
284 <div class="block">A CacheRegenerator that can be used whenever the items in the cache
285 are not dependant on the current searcher.</div>
288 <tr class="rowColor">
289 <td class="colFirst"><a href="../../../../org/apache/solr/util/SystemIdResolver.html" title="class in org.apache.solr.util">SystemIdResolver</a></td>
291 <div class="block">This is a helper class to support resolving of XIncludes or other hrefs
292 inside XML files on top of a <a href="http://lucene.apache.org/core/4_5_1/analyzers-common/org/apache/lucene/analysis/util/ResourceLoader.html?is-external=true" title="class or interface in org.apache.lucene.analysis.util"><code>ResourceLoader</code></a>.</div>
295 <tr class="altColor">
296 <td class="colFirst"><a href="../../../../org/apache/solr/util/TimeZoneUtils.html" title="class in org.apache.solr.util">TimeZoneUtils</a></td>
298 <div class="block">Simple utilities for working with TimeZones</div>
301 <tr class="rowColor">
302 <td class="colFirst"><a href="../../../../org/apache/solr/util/VersionedFile.html" title="class in org.apache.solr.util">VersionedFile</a></td>
303 <td class="colLast"> </td>
309 <a name="package_description">
312 <h2 title="Package org.apache.solr.util Description">Package org.apache.solr.util Description</h2>
313 <div class="block"><p>
314 Common utility classes used throughout Solr
319 <!-- ======= START OF BOTTOM NAVBAR ====== -->
320 <div class="bottomNav"><a name="navbar_bottom">
322 </a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
325 <ul class="navList" title="Navigation">
326 <li><a href="../../../../overview-summary.html">Overview</a></li>
327 <li class="navBarCell1Rev">Package</li>
329 <li><a href="package-use.html">Use</a></li>
330 <li><a href="package-tree.html">Tree</a></li>
331 <li><a href="../../../../deprecated-list.html">Deprecated</a></li>
332 <li><a href="../../../../help-doc.html">Help</a></li>
337 <li><a href="../../../../org/apache/solr/update/processor/package-summary.html">PREV PACKAGE</a></li>
338 <li><a href="../../../../org/apache/solr/util/plugin/package-summary.html">NEXT PACKAGE</a></li>
341 <li><a href="../../../../index.html?org/apache/solr/util/package-summary.html" target="_top">FRAMES</a></li>
342 <li><a href="package-summary.html" target="_top">NO FRAMES</a></li>
344 <ul class="navList" id="allclasses_navbar_bottom">
345 <li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
348 <script type="text/javascript"><!--
349 allClassesLink = document.getElementById("allclasses_navbar_bottom");
351 allClassesLink.style.display = "block";
354 allClassesLink.style.display = "none";
359 <a name="skip-navbar_bottom">
362 <!-- ======== END OF BOTTOM NAVBAR ======= -->
363 <p class="legalCopy"><small>
364 <i>Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.</i>
365 <script src='../../../../prettify.js' type='text/javascript'></script>
366 <script type='text/javascript'>
368 var oldonload = window.onload;
369 if (typeof oldonload != 'function') {
370 window.onload = prettyPrint;
372 window.onload = function() {