org.apache.uima.aae.jmx
Class ServicePerformance
java.lang.Object
org.apache.uima.aae.jmx.ServicePerformance
- All Implemented Interfaces:
- java.io.Serializable, ServicePerformanceMBean
public class ServicePerformance
- extends java.lang.Object
- implements ServicePerformanceMBean
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ServicePerformance
public ServicePerformance()
ServicePerformance
public ServicePerformance(AnalysisEngineController aController)
setRemoteDelegate
public void setRemoteDelegate()
getLabel
public java.lang.String getLabel()
reset
public void reset()
- Specified by:
reset
in interface ServicePerformanceMBean
setIdleTime
public void setIdleTime(long anIdleTime)
getIdleTime
public double getIdleTime()
- Specified by:
getIdleTime
in interface ServicePerformanceMBean
getRawIdleTime
public long getRawIdleTime()
incrementIdleTime
public void incrementIdleTime(long anIdleTime)
setAnalysisTime
public void setAnalysisTime(long anAnalysisTime)
- Adjust the analysis time. This method is called when a reply is received from a remote
delegate. Each reply message containing a CAS include the current actual analysis time This is
not a delta, its the running analysis time.
- Parameters:
anAnalysisTime
-
incrementAnalysisTime
public void incrementAnalysisTime(long anAnalysisTime)
getAnalysisTime
public double getAnalysisTime()
- Specified by:
getAnalysisTime
in interface ServicePerformanceMBean
getRawAnalysisTime
public long getRawAnalysisTime()
getNumberOfCASesProcessed
public long getNumberOfCASesProcessed()
- Specified by:
getNumberOfCASesProcessed
in interface ServicePerformanceMBean
incrementNumberOfCASesProcessed
public void incrementNumberOfCASesProcessed()
getCasDeserializationTime
public double getCasDeserializationTime()
- Specified by:
getCasDeserializationTime
in interface ServicePerformanceMBean
getRawCasDeserializationTime
public long getRawCasDeserializationTime()
incrementCasDeserializationTime
public void incrementCasDeserializationTime(long aCasDeserializationTime)
getCasSerializationTime
public double getCasSerializationTime()
- Specified by:
getCasSerializationTime
in interface ServicePerformanceMBean
getRawCasSerializationTime
public long getRawCasSerializationTime()
incrementCasSerializationTime
public void incrementCasSerializationTime(long casSerializationTime)
getMaxSerializationTime
public double getMaxSerializationTime()
getMaxDeserializationTime
public double getMaxDeserializationTime()
getMaxAnalysisTime
public double getMaxAnalysisTime()
incrementCasPoolWaitTime
public void incrementCasPoolWaitTime(long aCasPoolsWaitTime)
getCasPoolWaitTime
public double getCasPoolWaitTime()
- Specified by:
getCasPoolWaitTime
in interface ServicePerformanceMBean
getRawCasPoolWaitTime
public long getRawCasPoolWaitTime()
getShadowCasPoolWaitTime
public double getShadowCasPoolWaitTime()
- Specified by:
getShadowCasPoolWaitTime
in interface ServicePerformanceMBean
getTimeSpentInCMGetNext
public double getTimeSpentInCMGetNext()
- Specified by:
getTimeSpentInCMGetNext
in interface ServicePerformanceMBean
beginWaitOnCASPool
public void beginWaitOnCASPool()
endWaitOnCASPool
public void endWaitOnCASPool()
getTimeWaitingForCAS
public long getTimeWaitingForCAS()
beginWaitOnShadowCASPool
public void beginWaitOnShadowCASPool()
endWaitOnShadowCASPool
public void endWaitOnShadowCASPool()
getTimeWaitingForShadowPoolCAS
public long getTimeWaitingForShadowPoolCAS()
beginGetNextWait
public void beginGetNextWait()
endGetNextWait
public void endGetNextWait()
getTimeWaitingInGetNext
public long getTimeWaitingInGetNext()
getProcessThreadCount
public int getProcessThreadCount()
- Specified by:
getProcessThreadCount
in interface ServicePerformanceMBean
setProcessThreadCount
public void setProcessThreadCount(int processThreadCount)
getReplyThreadCount
public int getReplyThreadCount()
- Specified by:
getReplyThreadCount
in interface ServicePerformanceMBean
setReplyThreadCount
public void setReplyThreadCount(int replyThreadCount)
- Specified by:
setReplyThreadCount
in interface ServicePerformanceMBean
Copyright © 2011. All Rights Reserved.