public class HashMapReportMap extends ConcurrentHashMap<TikaDocument,Report> implements ReportMap
ReportMap using a ConcurrentHashMap as a backend.ConcurrentHashMap.KeySetView<K,V>AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
HashMapReportMap()
Instantiate a new report with the default
ConcurrentHashMap capacity (16). |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
boolean |
fastPut(TikaDocument key,
Report value)
Allow implementations to define a faster method for putting values into the map that doesn't require the
previous value to be returned.
|
clear, compute, computeIfAbsent, computeIfPresent, contains, containsKey, containsValue, elements, entrySet, equals, forEach, forEach, forEach, forEachEntry, forEachEntry, forEachKey, forEachKey, forEachValue, forEachValue, get, getOrDefault, hashCode, isEmpty, keys, keySet, keySet, mappingCount, merge, newKeySet, newKeySet, put, putAll, putIfAbsent, reduce, reduceEntries, reduceEntries, reduceEntriesToDouble, reduceEntriesToInt, reduceEntriesToLong, reduceKeys, reduceKeys, reduceKeysToDouble, reduceKeysToInt, reduceKeysToLong, reduceToDouble, reduceToInt, reduceToLong, reduceValues, reduceValues, reduceValuesToDouble, reduceValuesToInt, reduceValuesToLong, remove, remove, replace, replace, replaceAll, search, searchEntries, searchKeys, searchValues, size, toString, valuesclonefinalize, getClass, notify, notifyAll, wait, wait, waitjournalableExceptionscompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic HashMapReportMap()
ConcurrentHashMap capacity (16).public boolean fastPut(TikaDocument key, Report value)
ReportMappublic void close()
close in interface AutoCloseableCopyright © 2018. All rights reserved.