Class MarkLiveliness

  • All Implemented Interfaces:
    SimpleTimer.TimedEvent

    public class MarkLiveliness
    extends Object
    implements SimpleTimer.TimedEvent
    Write a timestamp to the ping file where other routers trying to use the same configuration can see it
    Since:
    0.8.12 moved from Router.java
    • Constructor Detail

      • MarkLiveliness

        public MarkLiveliness​(Router router,
                              File pingFile)
    • Method Detail

      • timeReached

        public void timeReached()
        Description copied from interface: SimpleTimer.TimedEvent
        the time requested has been reached (this call should NOT block, otherwise the whole SimpleTimer gets backed up)
        Specified by:
        timeReached in interface SimpleTimer.TimedEvent