
|
JBoss API: Class BeanCacheMonitor
org.jboss.monitor
Class BeanCacheMonitor
java.lang.Object
|
+--javax.management.NotificationBroadcasterSupport
|
+--org.jboss.util.ServiceMBeanSupport
|
+--org.jboss.monitor.BeanCacheMonitor
- All Implemented Interfaces:
- BeanCacheMonitorMBean, javax.management.MBeanRegistration, javax.management.NotificationBroadcaster, Service, ServiceMBean
- public class BeanCacheMonitor
- extends ServiceMBeanSupport
- implements BeanCacheMonitorMBean
- Version:
- $Revision: 1.1.6.1 $
- Author:
- Simone Bordet (simone.bordet@compaq.com)
- See Also:
Monitorable
Methods inherited from class org.jboss.util.ServiceMBeanSupport |
destroy, destroyService, getObjectName, getServer, getState, getStateString, init, initService, nextSequenceNumber, postDeregister, postRegister, preDeregister, preRegister, start, startService, stop, stopService |
Methods inherited from class javax.management.NotificationBroadcasterSupport |
addNotificationListener, getNotificationInfo, removeNotificationListener, sendNotification |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BeanCacheMonitor
public BeanCacheMonitor()
getName
public java.lang.String getName()
- Overrides:
getName in class ServiceMBeanSupport
getSnapshots
public BeanCacheSnapshot[] getSnapshots()
- Description copied from interface:
BeanCacheMonitorMBean
- Returns the cache data at the call instant.
- Specified by:
getSnapshots in interface BeanCacheMonitorMBean
- Following copied from interface:
org.jboss.monitor.BeanCacheMonitorMBean
- Returns:
- null if a problem is encountered while sampling the cache,
otherwise an array (possibly of size 0) with the cache data.
Copyright © 2000 The JBoss Organization. All Rights Reserved.
|