@ManagedResource(description="Managed Throttler") public class ManagedThrottler extends ManagedProcessor implements ManagedThrottlerMBean
TIMESTAMP_FORMAT
exchangesTotal, resetTimestamp, startTimestamp
Constructor and Description |
---|
ManagedThrottler(CamelContext context,
Throttler throttler,
ProcessorDefinition<?> definition) |
Modifier and Type | Method and Description |
---|---|
long |
getMaximumRequestsPerPeriod() |
Throttler |
getThrottler() |
long |
getTimePeriodMillis() |
Boolean |
isAsyncDelayed() |
Boolean |
isCallerRunsWhenRejected() |
Boolean |
isRejectExecution() |
void |
setMaximumRequestsPerPeriod(long maximumRequestsPerPeriod) |
void |
setTimePeriodMillis(long timePeriodMillis) |
dumpProcessorAsXml, explain, getCamelId, getCamelManagementName, getContext, getDefinition, getId, getIndex, getInstance, getProcessor, getProcessorId, getRoute, getRouteId, getState, getSupportExtendedInformation, informationJson, 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, 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
public ManagedThrottler(CamelContext context, Throttler throttler, ProcessorDefinition<?> definition)
public Throttler getThrottler()
public long getMaximumRequestsPerPeriod()
getMaximumRequestsPerPeriod
in interface ManagedThrottlerMBean
public void setMaximumRequestsPerPeriod(long maximumRequestsPerPeriod)
setMaximumRequestsPerPeriod
in interface ManagedThrottlerMBean
public long getTimePeriodMillis()
getTimePeriodMillis
in interface ManagedThrottlerMBean
public void setTimePeriodMillis(long timePeriodMillis)
setTimePeriodMillis
in interface ManagedThrottlerMBean
public Boolean isAsyncDelayed()
isAsyncDelayed
in interface ManagedThrottlerMBean
public Boolean isCallerRunsWhenRejected()
isCallerRunsWhenRejected
in interface ManagedThrottlerMBean
public Boolean isRejectExecution()
isRejectExecution
in interface ManagedThrottlerMBean
Apache Camel