Interface ManagedThrottlerMBean
-
- All Superinterfaces:
ManagedCounterMBean
,ManagedPerformanceCounterMBean
,ManagedProcessorMBean
public interface ManagedThrottlerMBean extends ManagedProcessorMBean
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description long
getMaximumRequestsPerPeriod()
long
getTimePeriodMillis()
Boolean
isAsyncDelayed()
Boolean
isCallerRunsWhenRejected()
Boolean
isRejectExecution()
void
setMaximumRequestsPerPeriod(long maximumRequestsPerPeriod)
void
setTimePeriodMillis(long timePeriodMillis)
-
Methods inherited from interface org.apache.camel.api.management.mbean.ManagedCounterMBean
getExchangesTotal, getResetTimestamp, getStartTimestamp, reset
-
Methods inherited from interface org.apache.camel.api.management.mbean.ManagedPerformanceCounterMBean
dumpStatsAsXml, getDeltaProcessingTime, getExchangesCompleted, getExchangesFailed, getExchangesInflight, getExternalRedeliveries, getFailuresHandled, getFirstExchangeCompletedExchangeId, getFirstExchangeCompletedTimestamp, getFirstExchangeFailureExchangeId, getFirstExchangeFailureTimestamp, getLastExchangeCompletedExchangeId, getLastExchangeCompletedTimestamp, getLastExchangeFailureExchangeId, getLastExchangeFailureTimestamp, getLastProcessingTime, getMaxProcessingTime, getMeanProcessingTime, getMinProcessingTime, getRedeliveries, getTotalProcessingTime, isStatisticsEnabled, setStatisticsEnabled
-
Methods inherited from interface org.apache.camel.api.management.mbean.ManagedProcessorMBean
dumpProcessorAsXml, getCamelId, getCamelManagementName, getIndex, getProcessorId, getRouteId, getState, getStepId, getSupportExtendedInformation, start, stop
-
-
-
-
Method Detail
-
getMaximumRequestsPerPeriod
@ManagedAttribute(description="Maximum requests per period") long getMaximumRequestsPerPeriod()
-
setMaximumRequestsPerPeriod
@ManagedAttribute(description="Maximum requests per period") void setMaximumRequestsPerPeriod(long maximumRequestsPerPeriod)
-
getTimePeriodMillis
@ManagedAttribute(description="Time period in millis") long getTimePeriodMillis()
-
setTimePeriodMillis
@ManagedAttribute(description="Time period in millis") void setTimePeriodMillis(long timePeriodMillis)
-
isAsyncDelayed
@ManagedAttribute(description="Enables asynchronous delay which means the thread will not block while delaying") Boolean isAsyncDelayed()
-
isCallerRunsWhenRejected
@ManagedAttribute(description="Whether or not the caller should run the task when it was rejected by the thread pool") Boolean isCallerRunsWhenRejected()
-
isRejectExecution
@ManagedAttribute(description="Whether or not throttler throws the ThrottlerRejectedExecutionException when the exchange exceeds the request limit") Boolean isRejectExecution()
-
-