public interface AnalysisEngineManagement extends ManagementObject
AnalysisEngine.getManagementInterface()
.
In this implementation, objects implementing this interface will always be JMX-compatible MBeans that you can register with an MBeanServer. For information on JMX see http://java.sun.com/j2se/1.5.0/docs/api/javax/management/package-summary.html
Modifier and Type | Interface and Description |
---|---|
static class |
AnalysisEngineManagement.State |
Modifier and Type | Method and Description |
---|---|
long |
getAnalysisTime()
Gets the total time this AnalysisEngine has spent doing analysis over its entire lifetime.
|
long |
getBatchProcessCompleteTime()
Gets the total time this AnalysisEngine has spent in its batchProcessComplete method over its
entire lifetime.
|
String |
getCASesPerSecond()
Gets the throughput of this AnalysisEngine, represented as number of CASes processed per
second.
|
long |
getCollectionProcessCompleteTime()
Gets the total time this AnalysisEngine has spent in its collectionProcessComplete method over
its entire lifetime.
|
Map<String,AnalysisEngineManagement> |
getComponents()
For an Aggregate AnalysisEngine, gets a Map whose values are AnalysisEngineManagement objects
that contain the statistics for the components of the aggregate.
|
long |
getInitializationTime()
Total time it took AnalysisEngine to initialize
|
String |
getName()
Gets a name for this AnalysisEngineManagement object, which will be unique among all of its
siblings (i.e.
|
long |
getNumberOfCASesProcessed()
Gets the total number of CASes this AnalysisEngine has processed over its lifetime.
|
long |
getServiceCallTime()
If this AnalysisEngine is a proxy to a remote service, gets the total time spent making calls
on that service.
|
String |
getState()
Gets the current state of an AnalysisEngine.
|
long |
getThreadId()
Gets an id of a thread that was used to initialize AE instance
|
void |
resetStats()
Resets all of the performance statistics to zero.
|
getUniqueMBeanName
String getName()
getComponents()
method.long getAnalysisTime()
AnalysisEngine.process(CAS)
and
AnalysisEngine.processAndOutputNewCASes(CAS)
methods, as well as calls to the
CasIterator returned from the processAndOutputNewCASes method.long getBatchProcessCompleteTime()
long getCollectionProcessCompleteTime()
long getServiceCallTime()
long getNumberOfCASesProcessed()
String getCASesPerSecond()
Map<String,AnalysisEngineManagement> getComponents()
void resetStats()
String getState()
long getThreadId()
long getInitializationTime()
Copyright © 2006–2017 The Apache Software Foundation. All rights reserved.