Class RandomIntervalPoller

  • All Implemented Interfaces:
    ComponentLifecycle, Poller

    public class RandomIntervalPoller
    extends FixedIntervalPoller
    Implementation of Poller which polls at a random interval with a delay between each execution of up-to the configured poll interval (in ms).

    This implementation is of marginal use, and is best used to generate messages at pseudo-random intervals.

    In the adapter configuration file this class is aliased as random-interval-poller which is the preferred alternative to the fully qualified classname when building your configuration.

    • Constructor Detail

      • RandomIntervalPoller

        public RandomIntervalPoller()
      • RandomIntervalPoller

        public RandomIntervalPoller​(TimeInterval interval)