java.lang.Object
net.i2p.router.web.GraphGenerator.Shutdown
All Implemented Interfaces:
Runnable
Enclosing class:
GraphGenerator

private class GraphGenerator.Shutdownextends Object implements Runnable
Make sure any persistent RRDs are closed.
  • Constructor Details

    • Shutdown

      private Shutdown()
      Stops the generators when the router exits.
  • Method Details

    • run

      public void run()
      Close all persistent RRDs and clean up.

      Ordered: watchdog, sync task, listeners, backend factory. The factory is last because closing it while a listener still holds a handle leaves that handle half-closed, and it is only closed at all by the instance that configured it.

      Specified by:
      run in interface Runnable