Class ServicePerformance

java.lang.Object
org.apache.uima.aae.jmx.ServicePerformance
All Implemented Interfaces:
Serializable, ServicePerformanceMBean

public class ServicePerformance extends Object implements ServicePerformanceMBean
See Also:
  • Constructor Details

    • ServicePerformance

      public ServicePerformance()
    • ServicePerformance

      public ServicePerformance(AnalysisEngineController aController)
  • Method Details

    • setRemoteDelegate

      public void setRemoteDelegate()
    • getLabel

      public 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