public class StatSummarizer extends Object implements Runnable
Modifier and Type | Field and Description |
---|---|
(package private) static String |
DEFAULT_DATABASES |
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() |
(package private) Set<Rate> |
parseSpecs(String specs) |
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,
int end,
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,
int end,
boolean showCredit)
This does the two-data bandwidth graph only.
|
void |
run() |
(package private) static void |
setDisabled()
Disable graph generation until restart
See SummaryRenderer.render()
|
static final String DEFAULT_DATABASES
public static StatSummarizer instance()
static boolean isDisabled()
static void setDisabled()
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, int end, boolean showCredit) throws IOException
end
- number of periods before nowIOException
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, int end, boolean showCredit) throws IOException
end
- number of periods before nowIOException