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 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 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

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

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

        public Boolean isRejectExecution()
        Specified by:
        isRejectExecution in interface org.apache.camel.api.management.mbean.ManagedThrottlerMBean