org.jboss.monitor
Class BeanCacheMonitor
java.lang.Object
org.jboss.monitor.BeanCacheMonitor
- All Implemented Interfaces:
- MBeanRegistration, BeanCacheMonitorMBean
public class BeanCacheMonitor
- extends Object
- implements BeanCacheMonitorMBean, MBeanRegistration
- Version:
- $Revision: 81030 $
- Author:
- Simone Bordet, David Jencks
- See Also:
Monitorable
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BeanCacheMonitor
public BeanCacheMonitor()
preRegister
public ObjectName preRegister(MBeanServer server,
ObjectName name)
throws Exception
- Specified by:
preRegister
in interface MBeanRegistration
- Throws:
Exception
postRegister
public void postRegister(Boolean registrationDone)
- Specified by:
postRegister
in interface MBeanRegistration
preDeregister
public void preDeregister()
throws Exception
- Specified by:
preDeregister
in interface MBeanRegistration
- Throws:
Exception
postDeregister
public void postDeregister()
- Specified by:
postDeregister
in interface MBeanRegistration
getSnapshots
public BeanCacheSnapshot[] getSnapshots()
- Describe
getSnapshots
method here.
- Specified by:
getSnapshots
in interface BeanCacheMonitorMBean
- Returns:
- a
BeanCacheSnapshot[]
value
listSnapshots
public Collection listSnapshots()
throws JMException
- The
listSnapshots
method returns a collection
of BeanSnapshots showing the
- Specified by:
listSnapshots
in interface BeanCacheMonitorMBean
- Returns:
- a
Collection
value
- Throws:
JMException
- if an error occurs
Copyright © 2009 JBoss, a division of Red Hat, Inc.. All Rights Reserved.