net.i2p.router
Class StatisticsManager

java.lang.Object
  extended by net.i2p.router.StatisticsManager
All Implemented Interfaces:
Service

public class StatisticsManager
extends Object
implements Service

Publishes some statistics about the router in the netDB.


Field Summary
static String PROP_PUBLISH_RANKINGS
           
 
Constructor Summary
StatisticsManager(RouterContext context)
           
 
Method Summary
 Properties publishStatistics()
          Retrieve a snapshot of the statistics that should be published
 void renderStatusHTML(Writer out)
           
 void restart()
          noop
 void shutdown()
          noop
 void startup()
          noop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PROP_PUBLISH_RANKINGS

public static final String PROP_PUBLISH_RANKINGS
See Also:
Constant Field Values
Constructor Detail

StatisticsManager

public StatisticsManager(RouterContext context)
Method Detail

shutdown

public void shutdown()
noop

Specified by:
shutdown in interface Service

restart

public void restart()
noop

Specified by:
restart in interface Service

startup

public void startup()
noop

Specified by:
startup in interface Service

publishStatistics

public Properties publishStatistics()
Retrieve a snapshot of the statistics that should be published


renderStatusHTML

public void renderStatusHTML(Writer out)
Specified by:
renderStatusHTML in interface Service