|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ProcessCpuTimeMonitorMBean
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 |
|---|
static final String PROCESS_PERCENT_CPU_TE_INITIAL_NOTIF_TYPE
static final String PROCESS_PERCENT_CPU_TE_STILL_NOTIF_TYPE
static final String PROCESS_PERCENT_CPU_TE_NO_LONGER_NOTIF_TYPE
| Method Detail |
|---|
double getAverageProcessPercentCpu()
double getProcessPercentCpuThreshold()
void setProcessPercentCpuThreshold(double processPercentCpuThreshold)
int getRecentIntervalSeconds()
void setRecentIntervalSeconds(int recentIntervalSeconds)
CompositeData getRecentCpuData()
throws OpenDataException
OpenDataException
CompositeData getBaselineCpuData()
throws OpenDataException
OpenDataExceptionvoid resetBaselineStatistics()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||