- All Known Implementing Classes:
JobQueue.QueuePumper, Router
- Enclosing class:
RouterClock
public static interface RouterClock.ClockShiftListener
Listener interface for receiving notifications when the router clock shifts. Implementations can respond to significant time adjustments in the router's clock.
Method Summary
All MethodsModifier and TypeMethodDescriptionvoidclockShift(long delta) Notifies the listener that the router clock shifted.
Method Details
clockShift
void clockShift(long delta) Notifies the listener that the router clock shifted.- Parameters:
delta- The system clock and adjusted clock just changed by this much, in milliseconds (approximately)