uima-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cwik...@apache.org
Subject svn commit: r995423 - /uima/uima-as/trunk/uimaj-as-core/src/main/java/org/apache/uima/aae/controller/BaseAnalysisEngineController.java
Date Thu, 09 Sep 2010 13:34:32 GMT
Author: cwiklik
Date: Thu Sep  9 13:34:32 2010
New Revision: 995423

URL: http://svn.apache.org/viewvc?rev=995423&view=rev
Log:
UIMA-1867 Added getDeadClientMap() implementation

Modified:
    uima/uima-as/trunk/uimaj-as-core/src/main/java/org/apache/uima/aae/controller/BaseAnalysisEngineController.java

Modified: uima/uima-as/trunk/uimaj-as-core/src/main/java/org/apache/uima/aae/controller/BaseAnalysisEngineController.java
URL: http://svn.apache.org/viewvc/uima/uima-as/trunk/uimaj-as-core/src/main/java/org/apache/uima/aae/controller/BaseAnalysisEngineController.java?rev=995423&r1=995422&r2=995423&view=diff
==============================================================================
--- uima/uima-as/trunk/uimaj-as-core/src/main/java/org/apache/uima/aae/controller/BaseAnalysisEngineController.java
(original)
+++ uima/uima-as/trunk/uimaj-as-core/src/main/java/org/apache/uima/aae/controller/BaseAnalysisEngineController.java
Thu Sep  9 13:34:32 2010
@@ -243,11 +243,14 @@ public abstract class BaseAnalysisEngine
   private ScheduledExecutorService daemonServiceExecutor = null;
 
   private static final UimaAsVersion uimaAsVersion = new UimaAsVersion();
+  // Holds destination names of clients known to be dead
+  protected ConcurrentHashMap<String,String> deadClientDestinationMap = new ConcurrentHashMap<String,
String>();
 
+  
   public BaseAnalysisEngineController() {
 
   }
-
+ 
   public BaseAnalysisEngineController(AnalysisEngineController aParentController,
           int aComponentCasPoolSize, String anEndpointName, String aDescriptor,
           AsynchAECasManager aCasManager, InProcessCache anInProcessCache) throws Exception
{
@@ -2715,4 +2718,8 @@ public abstract class BaseAnalysisEngine
       return currentState;
     }
   }
+  
+  public Map<String,String> getDeadClientMap() {
+	  return deadClientDestinationMap;
+  }
 }



Mime
View raw message