Package org.apache.uima.aae.controller
Class LocalCache
- java.lang.Object
-
- java.util.AbstractMap<K,V>
-
- java.util.concurrent.ConcurrentHashMap<java.lang.String,LocalCache.CasStateEntry>
-
- org.apache.uima.aae.controller.LocalCache
-
- All Implemented Interfaces:
java.io.Serializable,java.util.concurrent.ConcurrentMap<java.lang.String,LocalCache.CasStateEntry>,java.util.Map<java.lang.String,LocalCache.CasStateEntry>
public class LocalCache extends java.util.concurrent.ConcurrentHashMap<java.lang.String,LocalCache.CasStateEntry>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classLocalCache.CasStateEntry-
Nested classes/interfaces inherited from class java.util.concurrent.ConcurrentHashMap
java.util.concurrent.ConcurrentHashMap.KeySetView<K extends java.lang.Object,V extends java.lang.Object>
-
-
Constructor Summary
Constructors Constructor Description LocalCache(AnalysisEngineController aController)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LocalCache.CasStateEntrycreateCasStateEntry(java.lang.String aCasReferenceId)voiddumpContents()voiddumpContents(boolean dump2Stdout)LocalCache.CasStateEntrygetTopCasAncestor(java.lang.String casReferenceId)LocalCache.CasStateEntrylookupEntry(java.lang.String aCasReferenceId)java.lang.StringlookupInputCasReferenceId(java.lang.String aCasReferenceId)java.lang.StringlookupInputCasReferenceId(LocalCache.CasStateEntry entry)voidremove(java.lang.String aCasReferenceId)-
Methods inherited from class java.util.concurrent.ConcurrentHashMap
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, values
-
-
-
-
Constructor Detail
-
LocalCache
public LocalCache(AnalysisEngineController aController)
-
-
Method Detail
-
createCasStateEntry
public LocalCache.CasStateEntry createCasStateEntry(java.lang.String aCasReferenceId)
-
lookupEntry
public LocalCache.CasStateEntry lookupEntry(java.lang.String aCasReferenceId)
-
lookupInputCasReferenceId
public java.lang.String lookupInputCasReferenceId(java.lang.String aCasReferenceId)
-
lookupInputCasReferenceId
public java.lang.String lookupInputCasReferenceId(LocalCache.CasStateEntry entry)
-
dumpContents
public void dumpContents()
-
dumpContents
public void dumpContents(boolean dump2Stdout)
-
remove
public void remove(java.lang.String aCasReferenceId)
-
getTopCasAncestor
public LocalCache.CasStateEntry getTopCasAncestor(java.lang.String casReferenceId) throws java.lang.Exception
- Throws:
java.lang.Exception
-
-