public interface ManagedThrottlerMBean extends ManagedProcessorMBean
Modifier and Type | Method and Description |
---|---|
long |
getMaximumRequestsPerPeriod() |
long |
getTimePeriodMillis() |
Boolean |
isAsyncDelayed() |
Boolean |
isCallerRunsWhenRejected() |
Boolean |
isRejectExecution() |
void |
setMaximumRequestsPerPeriod(long maximumRequestsPerPeriod) |
void |
setTimePeriodMillis(long timePeriodMillis) |
dumpProcessorAsXml, explain, getCamelId, getCamelManagementName, getIndex, getProcessorId, getRouteId, getState, getSupportExtendedInformation, informationJson, 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
getExchangesTotal, getResetTimestamp, getStartTimestamp, reset
@ManagedAttribute(description="Maximum requests per period") long getMaximumRequestsPerPeriod()
@ManagedAttribute(description="Maximum requests per period") void setMaximumRequestsPerPeriod(long maximumRequestsPerPeriod)
@ManagedAttribute(description="Time period in millis") long getTimePeriodMillis()
@ManagedAttribute(description="Time period in millis") void setTimePeriodMillis(long timePeriodMillis)
@ManagedAttribute(description="Enables asynchronous delay which means the thread will not block while delaying") Boolean isAsyncDelayed()
@ManagedAttribute(description="Whether or not the caller should run the task when it was rejected by the thread pool") Boolean isCallerRunsWhenRejected()
@ManagedAttribute(description="Whether or not throttler throws the ThrottlerRejectedExecutionException when the exchange exceeds the request limit") Boolean isRejectExecution()
Apache Camel