public class StatsGenerator extends Object
| Constructor and Description |
|---|
StatsGenerator(RouterContext context)StatsGenerator. |
| Modifier and Type | Method and Description |
|---|---|
void | generateCSV(Writer out,
String filter)Generate CSV export of all stats (optionally filtered by name). |
void | generateStatsPage(Writer out,
boolean showAll,
String filter)generateStatsPage. |
public StatsGenerator(RouterContext context)
public void generateCSV(Writer out, String filter) throws IOException
IOExceptionpublic void generateStatsPage(Writer out, boolean showAll, String filter) throws IOException
filter - optional stat name substring filter (case-insensitive), null for allIOException