org.jboss.monitor
Interface BeanCacheMonitorMBean

All Known Implementing Classes:
BeanCacheMonitor (src)

public interface BeanCacheMonitorMBean

The JMX management interface for the BeanCacheMonitor (src) MBean.

See Also:
Monitorable (src)

Method Summary
 BeanCacheSnapshot (src) [] getSnapshots()
          Returns the cache data at the call instant.
 java.util.Collection listSnapshots()
          Describe listSnapshots method here.
 

Method Detail

getSnapshots

public BeanCacheSnapshot (src) [] getSnapshots()
Returns the cache data at the call instant.

Returns:
null if a problem is encountered while sampling the cache, otherwise an array (possibly of size 0) with the cache data.

listSnapshots

public java.util.Collection listSnapshots()
                                   throws JMException (src) 
Describe listSnapshots method here. Returns as a collection, throws JMException on problem

Returns:
a Collection value
Throws:
JMException (src)