Overview | Package | Class | Tree | Deprecated | Index | Help
| Hyperic HQ Plugin API v. 4.4.0.2
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.hyperic.hq.agent.server.monitor
Class AgentMonitorSimple

    java.lang.Object
      org.hyperic.hq.agent.server.monitor.AgentMonitorSimple

All Implemented Interfaces:
  AgentMonitorInterface

Direct Known Subclasses:
  AgentDaemon, CommandListener, ScheduleThread, SenderThread

    public abstract class AgentMonitorSimple

extends java.lang.Object
implements AgentMonitorInterface

A class which implements the AgentMonitorInterface to make monitoring simpler for subclasses. Classes extending this class can have methods of the following form: {String,double,String[],int[]} get*() throws AgentMonitorException where get* = getSomething Methods which do not match this signature exactly will not be exposed. These methods are exposed through the monitoring interface.

Field Summary

Fields inherited from interface org.hyperic.hq.agent.server.monitor.AgentMonitorInterface
`KEY_KEYS, KEY_TYPES`

Constructor Summary
`AgentMonitorSimple()`

Method Summary
`java.lang.String[]` | `getMonitorKeys()`
`int[]` | `getMonitorTypes()`
`AgentMonitorValue[]` | `getMonitorValues(java.lang.String[] monitorKeys)` Get a value of monitorKeys

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### AgentMonitorSimple

    public AgentMonitorSimple()

Method Detail

### getMonitorValues

    public AgentMonitorValue[] getMonitorValues(java.lang.String[] monitorKeys)

  Get a value of monitorKeys

  Specified by:
    `getMonitorValues` in interface `AgentMonitorInterface`
  Parameters:
    `monitorKeys` - Keys that the monitor recognizes
  Returns:
    A value for each monitorKey presented

### getMonitorKeys

    public java.lang.String[] getMonitorKeys()
                                      throws AgentMonitorException

  Throws:
    `AgentMonitorException`

### getMonitorTypes

    public int[] getMonitorTypes()
                          throws AgentMonitorException

  Throws:
    `AgentMonitorException`

Overview | Package | Class | Tree | Deprecated | Index | Help
| Hyperic HQ Plugin API v. 4.4.0.2
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2004-2006 Hyperic, Inc. support@hyperic.net, All Rights Reserved.