- All Known Implementing Classes:
Clock, RouterClock
- Enclosing class:
Timestamper
public static interface Timestamper.UpdateListener
Interface to receive update notifications for when we query the time Only used by Clock. stratum parameter added in 0.7.12. If there were any users outside of the tree, this broke compatibility, sorry.
Method Summary
All MethodsModifier and TypeMethodDescriptionvoidsetNow(long now, int stratum) Current time as updated, with its stratum, for Clock.
Method Details
setNow
void setNow(long now, int stratum) Current time as updated, with its stratum, for Clock.- Parameters:
now- the current timestratum- 1-15, 1 being the best (added in 0.7.12)