com.caucho.management.server
Interface StatServiceMXBean

All Superinterfaces:
ManagedObjectMXBean
All Known Implementing Classes:
ProStatSystem.Admin

public interface StatServiceMXBean
extends ManagedObjectMXBean

Interface for the persistent statistics

 resin:type=StatService
 


Method Summary
 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.
 double getLastValue(java.lang.String name)
          Returns the most recent value.
 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 startTime, 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
 
Methods inherited from interface com.caucho.management.server.ManagedObjectMXBean
getName, getObjectName, getType
 

Method Detail

getSamplePeriod

long getSamplePeriod()
Returns the sample period in milliseconds


statisticsData

StatServiceValue[] statisticsData(java.lang.String name,
                                  long beginTime,
                                  long endTime,
                                  long stepTime)
Returns statistics data over a time range.


getLastValue

double getLastValue(java.lang.String name)
Returns the most recent value.


getBaseline

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.


statisticsNames

java.lang.String[] statisticsNames()
Returns the strings


getStartTimes

long[] getStartTimes(int serverIndex,
                     long startTime,
                     long endTime)
Returns the start times for the given server.


getMeterGraphs

MeterGraphInfo[] getMeterGraphs()
Returns predefined meter graphs.


getMeterGraphPages

MeterGraphPageInfo[] getMeterGraphPages()
Returns predefined meter graph pages.