@ManagedResource(description="Managed Throttler") public class ManagedThrottler extends ManagedProcessor implements org.apache.camel.api.management.mbean.ManagedThrottlerMBean
TIMESTAMP_FORMAT
exchangesTotal, resetTimestamp, startTimestamp
Constructor and Description |
---|
ManagedThrottler(org.apache.camel.CamelContext context,
org.apache.camel.processor.Throttler throttler,
org.apache.camel.model.ProcessorDefinition<?> definition) |
Modifier and Type | Method and Description |
---|---|
long |
getMaximumRequestsPerPeriod() |
org.apache.camel.processor.Throttler |
getThrottler() |
long |
getTimePeriodMillis() |
Boolean |
isAsyncDelayed() |
Boolean |
isCallerRunsWhenRejected() |
Boolean |
isRejectExecution() |
void |
setMaximumRequestsPerPeriod(long maximumRequestsPerPeriod) |
void |
setTimePeriodMillis(long timePeriodMillis) |
dumpProcessorAsXml, getCamelId, getCamelManagementName, getContext, getDefinition, getId, getIndex, getInstance, getProcessor, getProcessorId, getRoute, getRouteId, getState, getStepId, getSupportExtendedInformation, init, setRoute, start, stop
completedExchange, dumpStatsAsXml, failedExchange, getDeltaProcessingTime, getExchangesCompleted, getExchangesFailed, getExchangesInflight, getExternalRedeliveries, getFailuresHandled, getFirstExchangeCompletedExchangeId, getFirstExchangeCompletedTimestamp, getFirstExchangeFailureExchangeId, getFirstExchangeFailureTimestamp, getLastExchangeCompletedExchangeId, getLastExchangeCompletedTimestamp, getLastExchangeFailureExchangeId, getLastExchangeFailureTimestamp, getLastProcessingTime, getMaxProcessingTime, getMeanProcessingTime, getMinProcessingTime, getRedeliveries, getTotalProcessingTime, isStatisticsEnabled, processExchange, reset, setStatisticsEnabled
getExchangesTotal, getResetTimestamp, getStartTimestamp, increment
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
dumpProcessorAsXml, getCamelId, getCamelManagementName, getIndex, getProcessorId, getRouteId, getState, getStepId, getSupportExtendedInformation, start, stop
dumpStatsAsXml, getDeltaProcessingTime, getExchangesCompleted, getExchangesFailed, getExchangesInflight, getExternalRedeliveries, getFailuresHandled, getFirstExchangeCompletedExchangeId, getFirstExchangeCompletedTimestamp, getFirstExchangeFailureExchangeId, getFirstExchangeFailureTimestamp, getLastExchangeCompletedExchangeId, getLastExchangeCompletedTimestamp, getLastExchangeFailureExchangeId, getLastExchangeFailureTimestamp, getLastProcessingTime, getMaxProcessingTime, getMeanProcessingTime, getMinProcessingTime, getRedeliveries, getTotalProcessingTime, isStatisticsEnabled, setStatisticsEnabled
public ManagedThrottler(org.apache.camel.CamelContext context, org.apache.camel.processor.Throttler throttler, org.apache.camel.model.ProcessorDefinition<?> definition)
public org.apache.camel.processor.Throttler getThrottler()
public long getMaximumRequestsPerPeriod()
getMaximumRequestsPerPeriod
in interface org.apache.camel.api.management.mbean.ManagedThrottlerMBean
public void setMaximumRequestsPerPeriod(long maximumRequestsPerPeriod)
setMaximumRequestsPerPeriod
in interface org.apache.camel.api.management.mbean.ManagedThrottlerMBean
public long getTimePeriodMillis()
getTimePeriodMillis
in interface org.apache.camel.api.management.mbean.ManagedThrottlerMBean
public void setTimePeriodMillis(long timePeriodMillis)
setTimePeriodMillis
in interface org.apache.camel.api.management.mbean.ManagedThrottlerMBean
public Boolean isAsyncDelayed()
isAsyncDelayed
in interface org.apache.camel.api.management.mbean.ManagedThrottlerMBean
public Boolean isCallerRunsWhenRejected()
isCallerRunsWhenRejected
in interface org.apache.camel.api.management.mbean.ManagedThrottlerMBean
public Boolean isRejectExecution()
isRejectExecution
in interface org.apache.camel.api.management.mbean.ManagedThrottlerMBean
Apache Camel