@ManagedResource(description="Managed Throttler") public class ManagedThrottler extends ManagedProcessor implements org.apache.camel.api.management.mbean.ManagedThrottlerMBean
TIMESTAMP_FORMATexchangesTotal, 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, stopcompletedExchange, 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, setStatisticsEnabledgetExchangesTotal, getResetTimestamp, getStartTimestamp, incrementclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdumpProcessorAsXml, getCamelId, getCamelManagementName, getIndex, getProcessorId, getRouteId, getState, getStepId, getSupportExtendedInformation, start, stopdumpStatsAsXml, getDeltaProcessingTime, getExchangesCompleted, getExchangesFailed, getExchangesInflight, getExternalRedeliveries, getFailuresHandled, getFirstExchangeCompletedExchangeId, getFirstExchangeCompletedTimestamp, getFirstExchangeFailureExchangeId, getFirstExchangeFailureTimestamp, getLastExchangeCompletedExchangeId, getLastExchangeCompletedTimestamp, getLastExchangeFailureExchangeId, getLastExchangeFailureTimestamp, getLastProcessingTime, getMaxProcessingTime, getMeanProcessingTime, getMinProcessingTime, getRedeliveries, getTotalProcessingTime, isStatisticsEnabled, setStatisticsEnabledpublic 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.ManagedThrottlerMBeanpublic void setMaximumRequestsPerPeriod(long maximumRequestsPerPeriod)
setMaximumRequestsPerPeriod in interface org.apache.camel.api.management.mbean.ManagedThrottlerMBeanpublic long getTimePeriodMillis()
getTimePeriodMillis in interface org.apache.camel.api.management.mbean.ManagedThrottlerMBeanpublic void setTimePeriodMillis(long timePeriodMillis)
setTimePeriodMillis in interface org.apache.camel.api.management.mbean.ManagedThrottlerMBeanpublic Boolean isAsyncDelayed()
isAsyncDelayed in interface org.apache.camel.api.management.mbean.ManagedThrottlerMBeanpublic Boolean isCallerRunsWhenRejected()
isCallerRunsWhenRejected in interface org.apache.camel.api.management.mbean.ManagedThrottlerMBeanpublic Boolean isRejectExecution()
isRejectExecution in interface org.apache.camel.api.management.mbean.ManagedThrottlerMBeanApache Camel