|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface GarbageCollectionMonitorMBean
Provides simple interface to monitor percentage of time recently spent in garbage collection
The MBeans built into Java 5 provide the necessary statistics, but not
notifications, nor the necessary derived statistic -- garbage collection as
a percentage of overall time.
Supported API: true
Extendable: true
| Field Summary | |
|---|---|
static String |
GC_THRESHOLD_EXCEEDED_INITIAL_NOTIF_TYPE
Type of notification produced when PercentTimeSpentInGCThreshold is initially exceeded Supported API: true |
static String |
GC_THRESHOLD_EXCEEDED_NO_LONGER_NOTIF_TYPE
Type of notification produced when PercentTimeSpentInGCThreshold is no longer exceeded Supported API: true |
static String |
GC_THRESHOLD_EXCEEDED_STILL_NOTIF_TYPE
Type of notification produced when PercentTimeSpentInGCThreshold is still exceeded Supported API: true |
| Method Summary | |
|---|---|
double |
getPercentTimeSpentInGCThreshold()
Threshold percentage of time spent in GC during an interval above which a notification will be issued Supported API: true |
int |
getRecentIntervalSeconds()
Duration of recent time interval in seconds Supported API: true |
double |
getRecentPercentTimeSpentInGC()
Percentage of time spent performing garbage collection during recent time interval Supported API: true |
void |
setPercentTimeSpentInGCThreshold(double percentTimeSpentInGCThreshold)
Threshold percentage of time spent in GC during an interval above which a notification will be issued Supported API: true |
void |
setRecentIntervalSeconds(int recentIntervalSeconds)
Duration of recent time interval in seconds Supported API: true |
| Methods inherited from interface wt.jmx.core.mbeans.SelfEmailingMBean |
|---|
emailThisMBean |
| Field Detail |
|---|
static final String GC_THRESHOLD_EXCEEDED_INITIAL_NOTIF_TYPE
static final String GC_THRESHOLD_EXCEEDED_STILL_NOTIF_TYPE
static final String GC_THRESHOLD_EXCEEDED_NO_LONGER_NOTIF_TYPE
| Method Detail |
|---|
double getRecentPercentTimeSpentInGC()
int getRecentIntervalSeconds()
void setRecentIntervalSeconds(int recentIntervalSeconds)
double getPercentTimeSpentInGCThreshold()
void setPercentTimeSpentInGCThreshold(double percentTimeSpentInGCThreshold)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||