public class StatisticsManager extends Object
Modifier and Type | Field and Description |
---|---|
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.
|
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)