|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface TaskAggregateMXBean
The management interface for tasks that have run.
An instance implementing this MBean can be obtained from the from the
getPlatformMBeanServer method.
The ObjectName for uniquely identifying this MBean is
"com.sun.sgs:type=TaskAggregate".
| Field Summary | |
|---|---|
static String |
MXBEAN_NAME
The name for uniquely identifying this MBean. |
| Method Summary | |
|---|---|
void |
clear()
Clears all data values. |
long |
getLastClearTime()
Returns the time of the last call to clear(), or the time
this MBean was created if clear has never been called. |
double |
getReadyCountAvg()
Returns the average number of tasks which are ready to run in the system. |
double |
getSmoothingFactor()
Returns the smoothing factor used for averages in this MBean. |
double |
getSuccessfulLagTimeAvg()
Returns the average lag time for successful tasks, in milliseconds. |
double |
getSuccessfulLatencyAvg()
Returns the average latency for successful tasks, in milliseconds. |
double |
getSuccessfulRuntimeAvg()
Returns the average runtime for successful tasks, in milliseconds. |
long |
getSuccessfulRuntimeMax()
Returns the maximum runtime for successful tasks, in milliseconds. |
long |
getTaskCount()
Returns the total number of tasks run. |
long |
getTaskFailureCount()
Returns the total number of tasks which failed. |
double |
getTaskFailurePercentage()
Returns the percentage of failed tasks to total tasks. |
long |
getTransactionalTaskCount()
Returns the total number of transactional tasks run. |
void |
setSmoothingFactor(double newFactor)
Set the smoothing factor for all averages in this MBean, between 0.0 and 1.0, inclusive. |
| Field Detail |
|---|
static final String MXBEAN_NAME
| Method Detail |
|---|
long getTaskCount()
long getTransactionalTaskCount()
long getTaskFailureCount()
double getTaskFailurePercentage()
double getReadyCountAvg()
long getSuccessfulRuntimeMax()
double getSuccessfulRuntimeAvg()
double getSuccessfulLagTimeAvg()
double getSuccessfulLatencyAvg()
double getSmoothingFactor()
void setSmoothingFactor(double newFactor)
0.0 and 1.0, inclusive. A value closer to 1.0
provides less smoothing of the data, and more weight to recent data; a
value closer to 0.0 provides more smoothing but is less
responsive to recent changes.
newFactor - the new smoothing factor
IllegalArgumentException - if the value is not between 0.0
and 1.0, inclusivevoid clear()
long getLastClearTime()
clear(), or the time
this MBean was created if clear has never been called. The
time is the difference, measured in milliseconds, between the time at
which this was last cleared and midnight, January 1, 1970 UTC.
clear
|
RedDwarf, Version 0.10.1 2010-03-14 10:56:12 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||