java.lang.Object
net.i2p.time.Timestamper
- All Implemented Interfaces:
Runnable
- Direct Known Subclasses:
RouterTimestamper
Dummy. Real thing moved to net.i2p.router.time.RouterTimestamper. What remains here is essentially an interface, containing only what is needed to keep external apps compiled with old libs from breaking, since net.i2p.util.Clock returns a Timestamper in getTimestamper()
Deprecated outside of the router.
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceInterface to receive update notifications for when we query the time Only used by Clock.Constructor Summary
ConstructorsMethod Summary
All MethodsModifier and TypeMethodDescriptionvoidrun()No-op run loop; the router handles time updates.voidUpdate the time immediately.voidNo-op; initialization is handled by RouterTimestamper.
Constructor Details
Timestamper
public Timestamper()No-op constructor for source compatibility.
Method Details
waitForInitialization
public void waitForInitialization()No-op; initialization is handled by RouterTimestamper.timestampNow
public void timestampNow()Update the time immediately. Dummy.run