public class StatisticsManager extends Object
Modifier and Type | Field | Description |
---|---|---|
static String |
PROP_PUBLISH_RANKINGS |
Constructor | Description |
---|---|
StatisticsManager(RouterContext context) |
Modifier and Type | Method | Description |
---|---|---|
Properties |
publishStatistics() |
Retrieve a snapshot of the statistics that should be published.
|
Properties |
publishStatistics(Hash h) |
Retrieve a snapshot of the statistics that should be published.
|
void |
renderStatusHTML(Writer out) |
public static final String PROP_PUBLISH_RANKINGS
public StatisticsManager(RouterContext context)
public Properties publishStatistics()
public Properties publishStatistics(Hash h)
h
- current router hash, non-nullpublic void renderStatusHTML(Writer out)