Package 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
-
-
Constructor Summary
Constructors Constructor Description ServicePerformance()
ServicePerformance(AnalysisEngineController aController)
-
Method Summary
-
-
-
Constructor Detail
-
ServicePerformance
public ServicePerformance()
-
ServicePerformance
public ServicePerformance(AnalysisEngineController aController)
-
-
Method Detail
-
setRemoteDelegate
public void setRemoteDelegate()
-
getLabel
public java.lang.String getLabel()
-
reset
public void reset()
- Specified by:
reset
in interfaceServicePerformanceMBean
-
setIdleTime
public void setIdleTime(long anIdleTime)
-
getIdleTime
public double getIdleTime()
- Specified by:
getIdleTime
in interfaceServicePerformanceMBean
-
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 interfaceServicePerformanceMBean
-
getRawAnalysisTime
public long getRawAnalysisTime()
-
getNumberOfCASesProcessed
public long getNumberOfCASesProcessed()
- Specified by:
getNumberOfCASesProcessed
in interfaceServicePerformanceMBean
-
incrementNumberOfCASesProcessed
public void incrementNumberOfCASesProcessed()
-
getCasDeserializationTime
public double getCasDeserializationTime()
- Specified by:
getCasDeserializationTime
in interfaceServicePerformanceMBean
-
getRawCasDeserializationTime
public long getRawCasDeserializationTime()
-
incrementCasDeserializationTime
public void incrementCasDeserializationTime(long aCasDeserializationTime)
-
getCasSerializationTime
public double getCasSerializationTime()
- Specified by:
getCasSerializationTime
in interfaceServicePerformanceMBean
-
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 interfaceServicePerformanceMBean
-
getRawCasPoolWaitTime
public long getRawCasPoolWaitTime()
-
getShadowCasPoolWaitTime
public double getShadowCasPoolWaitTime()
- Specified by:
getShadowCasPoolWaitTime
in interfaceServicePerformanceMBean
-
getTimeSpentInCMGetNext
public double getTimeSpentInCMGetNext()
- Specified by:
getTimeSpentInCMGetNext
in interfaceServicePerformanceMBean
-
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 interfaceServicePerformanceMBean
-
setProcessThreadCount
public void setProcessThreadCount(int processThreadCount)
-
getReplyThreadCount
public int getReplyThreadCount()
- Specified by:
getReplyThreadCount
in interfaceServicePerformanceMBean
-
setReplyThreadCount
public void setReplyThreadCount(int replyThreadCount)
- Specified by:
setReplyThreadCount
in interfaceServicePerformanceMBean
-
-