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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AgentMonitorSimple
public AgentMonitorSimple()
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
Copyright © 2004-2006 Hyperic, Inc. support@hyperic.net, All Rights Reserved.