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 classes/interfaces inherited from class java.util.AbstractMap |
java.util.AbstractMap.SimpleEntry<K,V>, java.util.AbstractMap.SimpleImmutableEntry<K,V> |
Nested classes/interfaces inherited from interface java.util.Map |
java.util.Map.Entry<K,V> |
Methods inherited from class java.util.concurrent.ConcurrentHashMap |
clear, contains, containsKey, containsValue, elements, entrySet, get, isEmpty, keys, keySet, put, putAll, putIfAbsent, remove, remove, replace, replace, size, values |
Methods inherited from class java.util.AbstractMap |
clone, equals, hashCode, toString |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.Map |
equals, hashCode |
LocalCache
public LocalCache(AnalysisEngineController aController)
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
Copyright © 2012. All Rights Reserved.