com.caucho.server.admin
Class ProStatSystem.Admin

java.lang.Object
  extended by com.caucho.management.server.AbstractManagedObject
      extended by com.caucho.server.admin.ProStatSystem.Admin
All Implemented Interfaces:
ManagedObjectMXBean, StatServiceMXBean
Enclosing class:
ProStatSystem

public class ProStatSystem.Admin
extends AbstractManagedObject
implements StatServiceMXBean


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.
 java.lang.String getName()
          The JMX name property of the mbean.
 long getSamplePeriod()
          Returns the sample period in milliseconds
 long[] getStartTimes(int index, long startTime, long endTime)
          Returns the start times for the given server.
 java.lang.String getType()
          The JMX type of this MBean, defaults to the prefix of the FooMXBean..
 StatServiceValue[] statisticsData(java.lang.String name, long beginTime, long endTime, long step)
          Returns statistics data over a time range.
 java.lang.String[] statisticsNames()
          Returns the strings
 
Methods inherited from class com.caucho.management.server.AbstractManagedObject
addObjectNameProperties, getObjectName, registerSelf, toString, unregisterSelf
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.caucho.management.server.ManagedObjectMXBean
getObjectName
 

Method Detail

getName

public java.lang.String getName()
Description copied from class: AbstractManagedObject
The JMX name property of the mbean.

Specified by:
getName in interface ManagedObjectMXBean
Specified by:
getName in class AbstractManagedObject

getType

public java.lang.String getType()
Description copied from class: AbstractManagedObject
The JMX type of this MBean, defaults to the prefix of the FooMXBean..

Specified by:
getType in interface ManagedObjectMXBean
Overrides:
getType in class AbstractManagedObject

getSamplePeriod

public long getSamplePeriod()
Description copied from interface: StatServiceMXBean
Returns the sample period in milliseconds

Specified by:
getSamplePeriod in interface StatServiceMXBean

statisticsData

public StatServiceValue[] statisticsData(java.lang.String name,
                                         long beginTime,
                                         long endTime,
                                         long step)
Description copied from interface: StatServiceMXBean
Returns statistics data over a time range.

Specified by:
statisticsData in interface StatServiceMXBean

getLastValue

public double getLastValue(java.lang.String name)
Description copied from interface: StatServiceMXBean
Returns the most recent value.

Specified by:
getLastValue in interface StatServiceMXBean

getBaseline

public BaselineQueryResult getBaseline(java.lang.String name,
                                       long beginTime,
                                       long endTime,
                                       int minSampleSize)
Description copied from interface: StatServiceMXBean
Returns the best available value of the given timeframe less 1 week, or 1 day, or 1 hour.

Specified by:
getBaseline in interface StatServiceMXBean

statisticsNames

public java.lang.String[] statisticsNames()
Description copied from interface: StatServiceMXBean
Returns the strings

Specified by:
statisticsNames in interface StatServiceMXBean

getMeterGraphs

public MeterGraphInfo[] getMeterGraphs()
Description copied from interface: StatServiceMXBean
Returns predefined meter graphs.

Specified by:
getMeterGraphs in interface StatServiceMXBean

getMeterGraphPages

public MeterGraphPageInfo[] getMeterGraphPages()
Description copied from interface: StatServiceMXBean
Returns predefined meter graph pages.

Specified by:
getMeterGraphPages in interface StatServiceMXBean

getStartTimes

public long[] getStartTimes(int index,
                            long startTime,
                            long endTime)
Description copied from interface: StatServiceMXBean
Returns the start times for the given server.

Specified by:
getStartTimes in interface StatServiceMXBean