public interface StatServiceMXBean extends ManagedObjectMXBean
resin:type=StatService
Modifier and Type | Method and Description |
---|---|
BaselineQueryResult |
getBaseline(java.lang.String name,
long beginTime,
long endTime,
int minSampleSize)
Returns the best available value of the given timeframe less 1 week, or
1 day, or 1 hour.
|
DownTime[] |
getDownTimes(int index,
long beginTime,
long endTime)
Returns period of downtime
|
double |
getLastValue(java.lang.String name)
Returns the most recent value.
|
MeterGraphPageInfo |
getMeterGraphPage(java.lang.String name)
Returns a predefined meter graph page.
|
MeterGraphPageInfo[] |
getMeterGraphPages()
Returns predefined meter graph pages.
|
MeterGraphInfo[] |
getMeterGraphs()
Returns predefined meter graphs.
|
long |
getSamplePeriod()
Returns the sample period in milliseconds
|
long[] |
getStartTimes(int serverIndex,
long beginTime,
long endTime)
Returns the start times for the given server.
|
StatServiceValue[] |
statisticsData(java.lang.String name,
long beginTime,
long endTime,
long stepTime)
Returns statistics data over a time range.
|
java.lang.String[] |
statisticsNames()
Returns the strings
|
getName, getObjectName, getType
long getSamplePeriod()
StatServiceValue[] statisticsData(java.lang.String name, long beginTime, long endTime, long stepTime)
double getLastValue(java.lang.String name)
BaselineQueryResult getBaseline(java.lang.String name, long beginTime, long endTime, int minSampleSize)
java.lang.String[] statisticsNames()
long[] getStartTimes(int serverIndex, long beginTime, long endTime)
MeterGraphInfo[] getMeterGraphs()
MeterGraphPageInfo[] getMeterGraphPages()
MeterGraphPageInfo getMeterGraphPage(java.lang.String name)
DownTime[] getDownTimes(int index, long beginTime, long endTime)