org.apache.uima.aae.controller
Class LocalCache

java.lang.Object
  extended by java.util.AbstractMap<K,V>
      extended by java.util.concurrent.ConcurrentHashMap<java.lang.String,LocalCache.CasStateEntry>
          extended by 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
static class LocalCache.CasStateEntry
           
 
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>
 
Constructor Summary
LocalCache(AnalysisEngineController aController)
           
 
Method Summary
 LocalCache.CasStateEntry createCasStateEntry(java.lang.String aCasReferenceId)
           
 void dumpContents()
           
 void dumpContents(boolean dump2Stdout)
           
 LocalCache.CasStateEntry getTopCasAncestor(java.lang.String casReferenceId)
           
 LocalCache.CasStateEntry lookupEntry(java.lang.String aCasReferenceId)
           
 java.lang.String lookupInputCasReferenceId(LocalCache.CasStateEntry entry)
           
 java.lang.String lookupInputCasReferenceId(java.lang.String aCasReferenceId)
           
 void remove(java.lang.String aCasReferenceId)
           
 
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
 

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


Copyright © 2012. All Rights Reserved.