Class 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
  • Constructor Details

    • ManagedThrottler

      public ManagedThrottler(org.apache.camel.CamelContext context, org.apache.camel.processor.Throttler throttler, org.apache.camel.model.ProcessorDefinition<?> definition)
  • Method Details

    • getThrottler

      public org.apache.camel.processor.Throttler getThrottler()
    • getMaximumRequestsPerPeriod

      Specified by:
      getMaximumRequestsPerPeriod in interface org.apache.camel.api.management.mbean.ManagedThrottlerMBean
    • setMaximumRequestsPerPeriod

      public void setMaximumRequestsPerPeriod(long maximumRequestsPerPeriod)
      Specified by:
      setMaximumRequestsPerPeriod in interface org.apache.camel.api.management.mbean.ManagedThrottlerMBean
    • getTimePeriodMillis

      public long getTimePeriodMillis()
      Specified by:
      getTimePeriodMillis in interface org.apache.camel.api.management.mbean.ManagedThrottlerMBean
    • setTimePeriodMillis

      public void setTimePeriodMillis(long timePeriodMillis)
      Specified by:
      setTimePeriodMillis in interface org.apache.camel.api.management.mbean.ManagedThrottlerMBean
    • isAsyncDelayed

      Specified by:
      isAsyncDelayed in interface org.apache.camel.api.management.mbean.ManagedThrottlerMBean
    • isCallerRunsWhenRejected

      Specified by:
      isCallerRunsWhenRejected in interface org.apache.camel.api.management.mbean.ManagedThrottlerMBean
    • isRejectExecution

      Specified by:
      isRejectExecution in interface org.apache.camel.api.management.mbean.ManagedThrottlerMBean