org.apache.activemq.broker.jmx
Class AbortSlowConsumerStrategyView
java.lang.Object
org.apache.activemq.broker.jmx.AbortSlowConsumerStrategyView
- All Implemented Interfaces:
- AbortSlowConsumerStrategyViewMBean
public class AbortSlowConsumerStrategyView
- extends Object
- implements AbortSlowConsumerStrategyViewMBean
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbortSlowConsumerStrategyView
public AbortSlowConsumerStrategyView(ManagedRegionBroker managedRegionBroker,
AbortSlowConsumerStrategy slowConsumerStrategy)
getMaxSlowCount
public long getMaxSlowCount()
- Specified by:
getMaxSlowCount in interface AbortSlowConsumerStrategyViewMBean
setMaxSlowCount
public void setMaxSlowCount(long maxSlowCount)
- Specified by:
setMaxSlowCount in interface AbortSlowConsumerStrategyViewMBean
getMaxSlowDuration
public long getMaxSlowDuration()
- Specified by:
getMaxSlowDuration in interface AbortSlowConsumerStrategyViewMBean
setMaxSlowDuration
public void setMaxSlowDuration(long maxSlowDuration)
- Specified by:
setMaxSlowDuration in interface AbortSlowConsumerStrategyViewMBean
getCheckPeriod
public long getCheckPeriod()
- Specified by:
getCheckPeriod in interface AbortSlowConsumerStrategyViewMBean
getSlowConsumers
public TabularData getSlowConsumers()
throws OpenDataException
- Specified by:
getSlowConsumers in interface AbortSlowConsumerStrategyViewMBean
- Throws:
OpenDataException
abortConsumer
public void abortConsumer(ObjectName consumerToAbort)
- Specified by:
abortConsumer in interface AbortSlowConsumerStrategyViewMBean
abortConnection
public void abortConnection(ObjectName consumerToAbort)
- Specified by:
abortConnection in interface AbortSlowConsumerStrategyViewMBean
abortConsumer
public void abortConsumer(String objectNameOfConsumerToAbort)
- Specified by:
abortConsumer in interface AbortSlowConsumerStrategyViewMBean
abortConnection
public void abortConnection(String objectNameOfConsumerToAbort)
- Specified by:
abortConnection in interface AbortSlowConsumerStrategyViewMBean
Copyright © 2005-2013 The Apache Software Foundation. All Rights Reserved.