net.i2p.router.web
public class StatSummarizer extends Object implements Runnable
Constructor and Description |
---|
StatSummarizer() |
Modifier and Type | Method and Description |
---|---|
(package private) List<SummaryListener> |
getListeners()
list of SummaryListener instances
|
boolean |
getXML(Rate rate,
OutputStream out) |
static StatSummarizer |
instance() |
(package private) static boolean |
isDisabled() |
boolean |
renderPng(OutputStream out,
String templateFilename)
Deprecated.
unused
|
boolean |
renderPng(Rate rate,
OutputStream out) |
boolean |
renderPng(Rate rate,
OutputStream out,
int width,
int height,
boolean hideLegend,
boolean hideGrid,
boolean hideTitle,
boolean showEvents,
int periodCount,
boolean showCredit)
This does the single data graphs.
|
boolean |
renderRatePng(OutputStream out,
int width,
int height,
boolean hideLegend,
boolean hideGrid,
boolean hideTitle,
boolean showEvents,
int periodCount,
boolean showCredit)
This does the two-data bandwidth graph only.
|
void |
run() |
public static StatSummarizer instance()
static boolean isDisabled()
List<SummaryListener> getListeners()
public boolean renderPng(Rate rate, OutputStream out) throws IOException
IOException
public boolean renderPng(Rate rate, OutputStream out, int width, int height, boolean hideLegend, boolean hideGrid, boolean hideTitle, boolean showEvents, int periodCount, boolean showCredit) throws IOException
IOException
public boolean renderPng(OutputStream out, String templateFilename) throws IOException
IOException
public boolean getXML(Rate rate, OutputStream out) throws IOException
IOException
public boolean renderRatePng(OutputStream out, int width, int height, boolean hideLegend, boolean hideGrid, boolean hideTitle, boolean showEvents, int periodCount, boolean showCredit) throws IOException
IOException