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
, which fires
invalid reference
org.apache.camel.support.TimerListenerManager
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:
-
Method Summary
-
Method Details
-
onTimer
void onTimer()Notification invoked.
-