java.lang.Object
net.i2p.time.Timestamper
All Implemented Interfaces:
Runnable
Direct Known Subclasses:
RouterTimestamper

public class Timestamperextends 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.

  • 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

      public void run()
      No-op run loop; the router handles time updates.
      Specified by:
      run in interface Runnable