org.apache.activemq.broker.jmx
Class AbortSlowAckConsumerStrategyView

java.lang.Object
  extended by org.apache.activemq.broker.jmx.AbortSlowConsumerStrategyView
      extended by org.apache.activemq.broker.jmx.AbortSlowAckConsumerStrategyView
All Implemented Interfaces:
AbortSlowAckConsumerStrategyViewMBean, AbortSlowConsumerStrategyViewMBean

public class AbortSlowAckConsumerStrategyView
extends AbortSlowConsumerStrategyView
implements AbortSlowAckConsumerStrategyViewMBean


Constructor Summary
AbortSlowAckConsumerStrategyView(ManagedRegionBroker managedRegionBroker, AbortSlowAckConsumerStrategy slowConsumerStrategy)
           
 
Method Summary
 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 interface AbortSlowAckConsumerStrategyViewMBean

setMaxTimeSinceLastAck

public void setMaxTimeSinceLastAck(long maxTimeSinceLastAck)
Specified by:
setMaxTimeSinceLastAck in interface AbortSlowAckConsumerStrategyViewMBean

isIgnoreIdleConsumers

public boolean isIgnoreIdleConsumers()
Specified by:
isIgnoreIdleConsumers in interface AbortSlowAckConsumerStrategyViewMBean

setIgnoreIdleConsumers

public void setIgnoreIdleConsumers(boolean ignoreIdleConsumers)
Specified by:
setIgnoreIdleConsumers in interface AbortSlowAckConsumerStrategyViewMBean

isIgnoreNetworkConsumers

public boolean isIgnoreNetworkConsumers()
Specified by:
isIgnoreNetworkConsumers in interface AbortSlowAckConsumerStrategyViewMBean

setIgnoreNetworkConsumers

public void setIgnoreNetworkConsumers(boolean ignoreNetworkConsumers)
Specified by:
setIgnoreNetworkConsumers in interface AbortSlowAckConsumerStrategyViewMBean


Copyright © 2005–2013 The Apache Software Foundation. All rights reserved.