Interface TimerListener


public interface TimerListener
Callback interface for objects that need to perform work on a recurring internal timer tick.

Implementations are registered with the

invalid reference
org.apache.camel.support.TimerListenerManager
, which fires onTimer() at a fixed interval for all registered listeners. This is used internally by components such as the throttler and the load-balancer to periodically update rate-limiter windows or health counters without coupling to a scheduler component.
See Also:
  • invalid reference
    org.apache.camel.support.TimerListenerManager
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Notification invoked.
  • Method Details

    • onTimer

      void onTimer()
      Notification invoked.