public interface ReportMap extends ConcurrentMap<TikaDocument,Report>, AutoCloseable
| Modifier and Type | Method and Description |
|---|---|
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.
|
default Collection<Class<? extends Exception>> |
journalableExceptions()
Allow implementations to define a list of exception classes that when caught, would indicate to the caller
that arguments should be journaled and flushed later.
|
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllclear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, valuescloseboolean fastPut(TikaDocument key, Report value)
key - the document to set the status ofvalue - the new statusdefault Collection<Class<? extends Exception>> journalableExceptions()
Copyright © 2018. All rights reserved.