Package org.apache.activemq.broker.jmx
Class AbortSlowAckConsumerStrategyView
- java.lang.Object
-
- org.apache.activemq.broker.jmx.AbortSlowConsumerStrategyView
-
- org.apache.activemq.broker.jmx.AbortSlowAckConsumerStrategyView
-
- All Implemented Interfaces:
AbortSlowAckConsumerStrategyViewMBean
,AbortSlowConsumerStrategyViewMBean
public class AbortSlowAckConsumerStrategyView extends AbortSlowConsumerStrategyView implements AbortSlowAckConsumerStrategyViewMBean
-
-
Constructor Summary
Constructors Constructor Description AbortSlowAckConsumerStrategyView(ManagedRegionBroker managedRegionBroker, AbortSlowAckConsumerStrategy slowConsumerStrategy)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getMaxTimeSinceLastAck()
boolean
isIgnoreIdleConsumers()
boolean
isIgnoreNetworkConsumers()
void
setIgnoreIdleConsumers(boolean ignoreIdleConsumers)
void
setIgnoreNetworkConsumers(boolean ignoreNetworkConsumers)
void
setMaxTimeSinceLastAck(long maxTimeSinceLastAck)
-
Methods inherited from class org.apache.activemq.broker.jmx.AbortSlowConsumerStrategyView
abortConnection, abortConnection, abortConsumer, abortConsumer, getCheckPeriod, getMaxSlowCount, getMaxSlowDuration, getSlowConsumers, setMaxSlowCount, setMaxSlowDuration
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.activemq.broker.jmx.AbortSlowConsumerStrategyViewMBean
abortConnection, abortConnection, abortConsumer, abortConsumer, getCheckPeriod, getMaxSlowCount, getMaxSlowDuration, getSlowConsumers, setMaxSlowCount, setMaxSlowDuration
-
-
-
-
Constructor Detail
-
AbortSlowAckConsumerStrategyView
public AbortSlowAckConsumerStrategyView(ManagedRegionBroker managedRegionBroker, AbortSlowAckConsumerStrategy slowConsumerStrategy)
-
-
Method Detail
-
getMaxTimeSinceLastAck
public long getMaxTimeSinceLastAck()
- Specified by:
getMaxTimeSinceLastAck
in interfaceAbortSlowAckConsumerStrategyViewMBean
-
setMaxTimeSinceLastAck
public void setMaxTimeSinceLastAck(long maxTimeSinceLastAck)
- Specified by:
setMaxTimeSinceLastAck
in interfaceAbortSlowAckConsumerStrategyViewMBean
-
isIgnoreIdleConsumers
public boolean isIgnoreIdleConsumers()
- Specified by:
isIgnoreIdleConsumers
in interfaceAbortSlowAckConsumerStrategyViewMBean
-
setIgnoreIdleConsumers
public void setIgnoreIdleConsumers(boolean ignoreIdleConsumers)
- Specified by:
setIgnoreIdleConsumers
in interfaceAbortSlowAckConsumerStrategyViewMBean
-
isIgnoreNetworkConsumers
public boolean isIgnoreNetworkConsumers()
- Specified by:
isIgnoreNetworkConsumers
in interfaceAbortSlowAckConsumerStrategyViewMBean
-
setIgnoreNetworkConsumers
public void setIgnoreNetworkConsumers(boolean ignoreNetworkConsumers)
- Specified by:
setIgnoreNetworkConsumers
in interfaceAbortSlowAckConsumerStrategyViewMBean
-
-