org.jboss.ejb3.metrics.deployer
Class BasicMessageDrivenMetrics
java.lang.Object
org.jboss.ejb3.metrics.deployer.BasicMessageDrivenMetrics
- All Implemented Interfaces:
- org.jboss.ejb3.ContainerDelegateWrapperMBean, org.jboss.ejb3.mdb.MessagingDelegateWrapperMBean
public class BasicMessageDrivenMetrics
- extends java.lang.Object
- implements org.jboss.ejb3.mdb.MessagingDelegateWrapperMBean
BasicMessageDrivenMetrics
Implementation of a MDB
metrics collector. Additionally exposed as a
management object.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BasicMessageDrivenMetrics
public BasicMessageDrivenMetrics(org.jboss.ejb3.mdb.MessagingContainer mdb)
throws java.lang.IllegalArgumentException
- Constructor
- Parameters:
slsb - The underlying container
- Throws:
java.lang.IllegalArgumentException - If the underlying container is not supplied
getKeepAliveMillis
public int getKeepAliveMillis()
- Specified by:
getKeepAliveMillis in interface org.jboss.ejb3.mdb.MessagingDelegateWrapperMBean
getMaxMessages
public int getMaxMessages()
- Specified by:
getMaxMessages in interface org.jboss.ejb3.mdb.MessagingDelegateWrapperMBean
getMaxPoolSize
public int getMaxPoolSize()
- Specified by:
getMaxPoolSize in interface org.jboss.ejb3.mdb.MessagingDelegateWrapperMBean
getMinPoolSize
public int getMinPoolSize()
- Specified by:
getMinPoolSize in interface org.jboss.ejb3.mdb.MessagingDelegateWrapperMBean
isDeliveryActive
public boolean isDeliveryActive()
- Specified by:
isDeliveryActive in interface org.jboss.ejb3.mdb.MessagingDelegateWrapperMBean
startDelivery
public void startDelivery()
- Specified by:
startDelivery in interface org.jboss.ejb3.mdb.MessagingDelegateWrapperMBean
stopDelivery
public void stopDelivery()
- Specified by:
stopDelivery in interface org.jboss.ejb3.mdb.MessagingDelegateWrapperMBean
getInvokeStats
public org.jboss.ejb3.statistics.InvocationStatistics getInvokeStats()
- Specified by:
getInvokeStats in interface org.jboss.ejb3.ContainerDelegateWrapperMBean
getTimerService
public javax.ejb.TimerService getTimerService(java.lang.Object key)
- Specified by:
getTimerService in interface org.jboss.ejb3.ContainerDelegateWrapperMBean