Package net.i2p.time
Class Timestamper
java.lang.Object
net.i2p.time.Timestamper
- All Implemented Interfaces:
Runnable
- Direct Known Subclasses:
RouterTimestamper
public class Timestamper extends Object implements Runnable
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 Classes Modifier and Type Class Description static interface
Timestamper.UpdateListener
Interface to receive update notifications for when we query the time Only used by Clock. -
Constructor Summary
Constructors Constructor Description Timestamper()
dummy -
Method Summary
Modifier and Type Method Description void
run()
dummyvoid
timestampNow()
Update the time immediately.void
waitForInitialization()
dummy
-
Constructor Details
-
Timestamper
public Timestamper()dummy
-
-
Method Details
-
waitForInitialization
public void waitForInitialization()dummy -
timestampNow
public void timestampNow()Update the time immediately. Dummy- Since:
- 0.8.8
-
run
public void run()dummy
-