org.apache.camel.management.mbean
Class ManagedThrottler
java.lang.Object
org.apache.camel.management.mbean.ManagedCounter
org.apache.camel.management.mbean.ManagedPerformanceCounter
org.apache.camel.management.mbean.ManagedProcessor
org.apache.camel.management.mbean.ManagedThrottler
- All Implemented Interfaces:
- PerformanceCounter
@ManagedResource(description="Managed Throttler")
public class ManagedThrottler
- extends ManagedProcessor
- Version:
- $Revision: 835732 $
| Methods inherited from class org.apache.camel.management.mbean.ManagedPerformanceCounter |
completedExchange, failedExchange, getExchangesCompleted, getExchangesFailed, getFirstExchangeCompletedTimestamp, getFirstExchangeFailureTimestamp, getLastExchangeCompletedTimestamp, getLastExchangeFailureTimestamp, getLastProcessingTime, getMaxProcessingTime, getMeanProcessingTime, getMinProcessingTime, getTotalProcessingTime, init, isStatisticsEnabled, reset, setStatisticsEnabled |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ManagedThrottler
public ManagedThrottler(CamelContext context,
Throttler throttler,
ProcessorDefinition<?> definition)
getThrottler
public Throttler getThrottler()
getMaximumRequestsPerPeriod
@ManagedAttribute(description="Maximum requires per period")
public long getMaximumRequestsPerPeriod()
setMaximumRequestsPerPeriod
@ManagedAttribute(description="Maximum requires per period")
public void setMaximumRequestsPerPeriod(long maximumRequestsPerPeriod)
getTimePeriodMillis
@ManagedAttribute(description="Time period in millis")
public long getTimePeriodMillis()
setTimePeriodMillis
@ManagedAttribute(description="Time period in millis")
public void setTimePeriodMillis(long timePeriodMillis)
Copyright © 2007-2010 The Apache Software Foundation. All Rights Reserved.