public final class MonitoringServices extends java.lang.Object implements MonitoringServicesMXBean
| Modifier and Type | Field and Description |
|---|---|
static MonitoringServices |
instance |
| Modifier and Type | Method and Description |
|---|---|
void |
addPerfNotificationListener(javax.management.NotificationListener listener,
java.lang.Object handback) |
void |
addStructuralNotificationListener(javax.management.NotificationListener listener,
java.lang.Object handback) |
static MonitoringServices |
getInstance() |
int |
getPerformanceTimerPeriod() |
int |
getStructuraltimerPeriod() |
boolean |
isPerformanceUpdates() |
boolean |
isStructuralUpdates() |
void |
removePerfNotificationListener(javax.management.NotificationListener listener) |
void |
removeStructuralNotificationListener(javax.management.NotificationListener listener) |
void |
setPerformanceTimerPeriod(int perfTimerPeriod) |
void |
setPerformanceUpdates(boolean value) |
void |
setStructuraltimerPeriod(int structuralTimerPeriod) |
void |
setStructuralUpdates(boolean value) |
void |
startPerformanceUpdates() |
void |
startStructuralUpdates() |
void |
stopPerformanceUpdates() |
void |
stopStructuralUpdates() |
public static final MonitoringServices instance
public static MonitoringServices getInstance()
public int getPerformanceTimerPeriod()
getPerformanceTimerPeriod in interface MonitoringServicesMXBeanpublic void setPerformanceTimerPeriod(int perfTimerPeriod)
setPerformanceTimerPeriod in interface MonitoringServicesMXBeanpublic boolean isPerformanceUpdates()
isPerformanceUpdates in interface MonitoringServicesMXBeanpublic void setPerformanceUpdates(boolean value)
setPerformanceUpdates in interface MonitoringServicesMXBeanpublic void startPerformanceUpdates()
startPerformanceUpdates in interface MonitoringServicesMXBeanpublic void stopPerformanceUpdates()
stopPerformanceUpdates in interface MonitoringServicesMXBeanpublic void addPerfNotificationListener(javax.management.NotificationListener listener,
java.lang.Object handback)
public void removePerfNotificationListener(javax.management.NotificationListener listener)
public boolean isStructuralUpdates()
isStructuralUpdates in interface MonitoringServicesMXBeanpublic void setStructuralUpdates(boolean value)
setStructuralUpdates in interface MonitoringServicesMXBeanpublic void startStructuralUpdates()
startStructuralUpdates in interface MonitoringServicesMXBeanpublic void stopStructuralUpdates()
stopStructuralUpdates in interface MonitoringServicesMXBeanpublic int getStructuraltimerPeriod()
getStructuraltimerPeriod in interface MonitoringServicesMXBeanpublic void setStructuraltimerPeriod(int structuralTimerPeriod)
setStructuraltimerPeriod in interface MonitoringServicesMXBeanpublic void addStructuralNotificationListener(javax.management.NotificationListener listener,
java.lang.Object handback)
public void removeStructuralNotificationListener(javax.management.NotificationListener listener)