net.i2p.router
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_PROP_PUBLISH_RANKINGS |
static String |
PROP_PUBLISH_RANKINGS |
Constructor and Description |
---|
StatisticsManager(RouterContext context) |
Modifier and Type | Method and Description |
---|---|
Properties |
publishStatistics()
Retrieve a snapshot of the statistics that should be published
|
void |
renderStatusHTML(Writer out) |
void |
restart()
Perform a soft restart.
|
void |
shutdown()
Instruct the service that the router is shutting down and that it should do
whatever is necessary to go down gracefully.
|
void |
startup()
Instruct the service that it should start normal operation.
|
public static final String PROP_PUBLISH_RANKINGS
public static final String DEFAULT_PROP_PUBLISH_RANKINGS
public StatisticsManager(RouterContext context)
public void shutdown()
Service
public void restart()
Service
public void startup()
Service
public Properties publishStatistics()
public void renderStatusHTML(Writer out)
renderStatusHTML
in interface Service