Interface ManagedThrottlerMBean
- All Superinterfaces:
ManagedCounterMBean,ManagedPerformanceCounterMBean,ManagedProcessorMBean
-
Method Summary
Modifier and TypeMethodDescriptionlonggetMode()longvoidsetMaximumRequests(long maximumConcurrentRequests) voidsetTimePeriodMillis(long timePeriodMillis) Methods inherited from interface org.apache.camel.api.management.mbean.ManagedCounterMBean
getExchangesTotal, getResetTimestamp, getStartTimestamp, resetMethods inherited from interface org.apache.camel.api.management.mbean.ManagedPerformanceCounterMBean
dumpStatsAsJSon, dumpStatsAsXml, getDeltaProcessingTime, getExchangesCompleted, getExchangesFailed, getExchangesInflight, getExternalRedeliveries, getFailuresHandled, getFirstExchangeCompletedExchangeId, getFirstExchangeCompletedTimestamp, getFirstExchangeFailureExchangeId, getFirstExchangeFailureTimestamp, getIdleSince, getLastExchangeCompletedExchangeId, getLastExchangeCompletedTimestamp, getLastExchangeCreatedTimestamp, getLastExchangeFailureExchangeId, getLastExchangeFailureTimestamp, getLastProcessingTime, getMaxProcessingTime, getMeanProcessingTime, getMinProcessingTime, getRedeliveries, getTotalProcessingTime, isStatisticsEnabled, setStatisticsEnabled, statsAsJSonMethods inherited from interface org.apache.camel.api.management.mbean.ManagedProcessorMBean
disable, dumpProcessorAsXml, enable, getCamelId, getCamelManagementName, getDescription, getDisabled, getIndex, getLevel, getNodePrefixId, getProcessorId, getProcessorName, getRouteId, getSourceLineNumber, getSourceLocation, getSourceLocationShort, getState, getStepId, getSupportExtendedInformation, start, stop
-
Method Details
-
getMaximumRequests
-
setMaximumRequests
@ManagedAttribute(description="Maximum concurrent requests") void setMaximumRequests(long maximumConcurrentRequests) -
getTimePeriodMillis
-
setTimePeriodMillis
@ManagedAttribute(description="Time period in millis") void setTimePeriodMillis(long timePeriodMillis) -
getMode
-
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()
-