wt.jmx.core.mbeans
Interface ProcessCpuTimeMonitorMBean

All Superinterfaces:
SelfEmailingMBean

public interface ProcessCpuTimeMonitorMBean
extends SelfEmailingMBean

Monitors (average) percentage CPU used by process and CPU times accumulated by each thread, over a given time interval and since a baseline time.

Supported API: true

Extendable: true


Field Summary
static String PROCESS_PERCENT_CPU_TE_INITIAL_NOTIF_TYPE
          Type of notification produced when ProcessPercentCpuThreshold is initially exceeded

Supported API: true
static String PROCESS_PERCENT_CPU_TE_NO_LONGER_NOTIF_TYPE
          Type of notification produced when ProcessPercentCpuThreshold is no longer exceeded

Supported API: true
static String PROCESS_PERCENT_CPU_TE_STILL_NOTIF_TYPE
          Type of notification produced when ProcessPercentCpuThreshold is still exceeded

Supported API: true
 
Method Summary
 double getAverageProcessPercentCpu()
          Average percentage of CPU used by process since its start

Supported API: true
 CompositeData getBaselineCpuData()
          Data on CPU usage during time interval since baseline CPU time statistics were established (by application startup or the resetBaselineStatistics() operation whichever was more recent)

Supported API: true
 double getProcessPercentCpuThreshold()
          Threshold percentage CPU used by process

Supported API: true
 CompositeData getRecentCpuData()
          Data on CPU usage during recent time interval

Supported API: true
 int getRecentIntervalSeconds()
          Duration (in seconds) of time interval over which CPU usage is averaged

Supported API: true
 void resetBaselineStatistics()
          Resets CPU time baseline statistics

Supported API: true
 void setProcessPercentCpuThreshold(double processPercentCpuThreshold)
          Threshold percentage CPU used by process

Supported API: true
 void setRecentIntervalSeconds(int recentIntervalSeconds)
          Duration (in seconds) of time interval over which CPU usage is averaged

Supported API: true
 
Methods inherited from interface wt.jmx.core.mbeans.SelfEmailingMBean
emailThisMBean
 

Field Detail

PROCESS_PERCENT_CPU_TE_INITIAL_NOTIF_TYPE

static final String PROCESS_PERCENT_CPU_TE_INITIAL_NOTIF_TYPE
Type of notification produced when ProcessPercentCpuThreshold is initially exceeded

Supported API: true


PROCESS_PERCENT_CPU_TE_STILL_NOTIF_TYPE

static final String PROCESS_PERCENT_CPU_TE_STILL_NOTIF_TYPE
Type of notification produced when ProcessPercentCpuThreshold is still exceeded

Supported API: true


PROCESS_PERCENT_CPU_TE_NO_LONGER_NOTIF_TYPE

static final String PROCESS_PERCENT_CPU_TE_NO_LONGER_NOTIF_TYPE
Type of notification produced when ProcessPercentCpuThreshold is no longer exceeded

Supported API: true

Method Detail

getAverageProcessPercentCpu

double getAverageProcessPercentCpu()
Average percentage of CPU used by process since its start

Supported API: true


getProcessPercentCpuThreshold

double getProcessPercentCpuThreshold()
Threshold percentage CPU used by process

Supported API: true


setProcessPercentCpuThreshold

void setProcessPercentCpuThreshold(double processPercentCpuThreshold)
Threshold percentage CPU used by process

Supported API: true


getRecentIntervalSeconds

int getRecentIntervalSeconds()
Duration (in seconds) of time interval over which CPU usage is averaged

Supported API: true


setRecentIntervalSeconds

void setRecentIntervalSeconds(int recentIntervalSeconds)
Duration (in seconds) of time interval over which CPU usage is averaged

Supported API: true


getRecentCpuData

CompositeData getRecentCpuData()
                               throws OpenDataException
Data on CPU usage during recent time interval

Supported API: true

Throws:
OpenDataException

getBaselineCpuData

CompositeData getBaselineCpuData()
                                 throws OpenDataException
Data on CPU usage during time interval since baseline CPU time statistics were established (by application startup or the resetBaselineStatistics() operation whichever was more recent)

Supported API: true

Throws:
OpenDataException

resetBaselineStatistics

void resetBaselineStatistics()
Resets CPU time baseline statistics

Supported API: true