Class ManagedThrottler
- java.lang.Object
-
- org.apache.camel.management.mbean.ManagedCounter
-
- org.apache.camel.management.mbean.ManagedPerformanceCounter
-
- org.apache.camel.management.mbean.ManagedProcessor
-
- org.apache.camel.management.mbean.ManagedThrottler
-
- All Implemented Interfaces:
org.apache.camel.api.management.ManagedInstance
,org.apache.camel.api.management.mbean.ManagedCounterMBean
,org.apache.camel.api.management.mbean.ManagedPerformanceCounterMBean
,org.apache.camel.api.management.mbean.ManagedProcessorMBean
,org.apache.camel.api.management.mbean.ManagedThrottlerMBean
,PerformanceCounter
@ManagedResource(description="Managed Throttler") public class ManagedThrottler extends ManagedProcessor implements org.apache.camel.api.management.mbean.ManagedThrottlerMBean
-
-
Field Summary
-
Fields inherited from class org.apache.camel.management.mbean.ManagedPerformanceCounter
TIMESTAMP_FORMAT
-
Fields inherited from class org.apache.camel.management.mbean.ManagedCounter
exchangesTotal, resetTimestamp, startTimestamp
-
-
Constructor Summary
Constructors Constructor Description ManagedThrottler(org.apache.camel.CamelContext context, org.apache.camel.processor.Throttler throttler, org.apache.camel.model.ProcessorDefinition<?> definition)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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)
-
Methods inherited from class org.apache.camel.management.mbean.ManagedProcessor
dumpProcessorAsXml, getCamelId, getCamelManagementName, getContext, getDefinition, getId, getIndex, getInstance, getProcessor, getProcessorId, getRoute, getRouteId, getState, getStepId, getSupportExtendedInformation, init, setRoute, start, stop
-
Methods inherited from class org.apache.camel.management.mbean.ManagedPerformanceCounter
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
-
Methods inherited from class org.apache.camel.management.mbean.ManagedCounter
getExchangesTotal, getResetTimestamp, getStartTimestamp, increment
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
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
-
-
-
-
Constructor Detail
-
ManagedThrottler
public ManagedThrottler(org.apache.camel.CamelContext context, org.apache.camel.processor.Throttler throttler, org.apache.camel.model.ProcessorDefinition<?> definition)
-
-
Method Detail
-
getThrottler
public org.apache.camel.processor.Throttler getThrottler()
-
getMaximumRequestsPerPeriod
public long getMaximumRequestsPerPeriod()
- Specified by:
getMaximumRequestsPerPeriod
in interfaceorg.apache.camel.api.management.mbean.ManagedThrottlerMBean
-
setMaximumRequestsPerPeriod
public void setMaximumRequestsPerPeriod(long maximumRequestsPerPeriod)
- Specified by:
setMaximumRequestsPerPeriod
in interfaceorg.apache.camel.api.management.mbean.ManagedThrottlerMBean
-
getTimePeriodMillis
public long getTimePeriodMillis()
- Specified by:
getTimePeriodMillis
in interfaceorg.apache.camel.api.management.mbean.ManagedThrottlerMBean
-
setTimePeriodMillis
public void setTimePeriodMillis(long timePeriodMillis)
- Specified by:
setTimePeriodMillis
in interfaceorg.apache.camel.api.management.mbean.ManagedThrottlerMBean
-
isAsyncDelayed
public Boolean isAsyncDelayed()
- Specified by:
isAsyncDelayed
in interfaceorg.apache.camel.api.management.mbean.ManagedThrottlerMBean
-
isCallerRunsWhenRejected
public Boolean isCallerRunsWhenRejected()
- Specified by:
isCallerRunsWhenRejected
in interfaceorg.apache.camel.api.management.mbean.ManagedThrottlerMBean
-
isRejectExecution
public Boolean isRejectExecution()
- Specified by:
isRejectExecution
in interfaceorg.apache.camel.api.management.mbean.ManagedThrottlerMBean
-
-