org.apache.uima.aae.monitor.statistics
Class AnalysisEnginePerformanceMetrics

java.lang.Object
  extended by org.apache.uima.aae.monitor.statistics.AnalysisEnginePerformanceMetrics
All Implemented Interfaces:
Serializable

public class AnalysisEnginePerformanceMetrics
extends Object
implements Serializable

Contains information about the processing of a CAS in a component of an Analysis Engine

See Also:
Serialized Form

Constructor Summary
AnalysisEnginePerformanceMetrics(String name, String uniqueName, long analysisTime, long numProcessed)
          Creates a performance metrics instance
 
Method Summary
 long getAnalysisTime()
          Gets the elapsed time the CAS spent analyzing this component
 String getName()
          Gets the local name of the component as specified in the aggregate
 long getNumProcessed()
          Gets the total number of CASes processed by this component so far
 String getUniqueName()
          Gets the unique name of the component reflecting its location in the aggregate hierarchy
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AnalysisEnginePerformanceMetrics

public AnalysisEnginePerformanceMetrics(String name,
                                        String uniqueName,
                                        long analysisTime,
                                        long numProcessed)
Creates a performance metrics instance

Method Detail

getName

public String getName()
Gets the local name of the component as specified in the aggregate

Returns:
the name

getUniqueName

public String getUniqueName()
Gets the unique name of the component reflecting its location in the aggregate hierarchy

Returns:
the unique name

getAnalysisTime

public long getAnalysisTime()
Gets the elapsed time the CAS spent analyzing this component

Returns:
time in milliseconds

getNumProcessed

public long getNumProcessed()
Gets the total number of CASes processed by this component so far

Returns:
number processed


Copyright © 2006-2012 The Apache Software Foundation. All Rights Reserved.