com.caucho.management.server
Interface StatServiceMXBean

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

public interface StatServiceMXBean
extends ManagedObjectMXBean

Interface for the persistent statistics

 resin:type=StatService
 


Method Summary
 double getLastValue(java.lang.String name)
          Returns the most recent value.
 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.


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.