com.caucho.server.admin
Class StatService.Admin

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

public class StatService.Admin
extends AbstractManagedObject
implements StatServiceMXBean


Method Summary
 StatServiceAttribute[] getActiveAttributes()
          Returns the current statistics attributes
 java.lang.String getName()
          The JMX name property of the mbean.
 java.lang.String getType()
          The JMX type of this MBean, defaults to the prefix of the FooMXBean..
 StatServiceValue[] statisticsData(java.lang.String name, java.lang.String attribute, long beginTime, long endTime)
          Returns statistics data over a time range.
 
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

getActiveAttributes

public StatServiceAttribute[] getActiveAttributes()
Description copied from interface: StatServiceMXBean
Returns the current statistics attributes

Specified by:
getActiveAttributes in interface StatServiceMXBean

statisticsData

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

Specified by:
statisticsData in interface StatServiceMXBean