|
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 |
java.lang.Objectorg.hyperic.hq.measurement.agent.server.MeasurementCommandsService
public class MeasurementCommandsService
The Measurement Commands service.
Constructor Summary | |
---|---|
MeasurementCommandsService(AgentStorageProvider storage,
java.util.Map validProps,
org.hyperic.hq.measurement.agent.server.MeasurementSchedule schedStorage,
MeasurementPluginManager pluginManager,
LogTrackPluginManager ltPluginManager,
ConfigTrackPluginManager ctPluginManager,
ScheduleThread scheduleObject)
|
Method Summary | |
---|---|
void |
addTrackPlugin(java.lang.String id,
java.lang.String pluginType,
java.lang.String resourceName,
ConfigResponse response)
|
void |
closeConnection()
|
void |
deleteProperties(DeleteProperties_args args)
|
GetMeasurements_result |
getMeasurements(GetMeasurements_args args)
Get real time measurements from the Agent. |
void |
removeTrackPlugin(java.lang.String id,
java.lang.String pluginType)
|
void |
scheduleMeasurements(ScheduleMeasurements_args args)
Schedule a group of measurements on the agent. |
void |
setProperties(SetProperties_args args)
|
void |
unscheduleMeasurements(UnscheduleMeasurements_args args)
Unschedule a group of previously scheduled measurements. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MeasurementCommandsService(AgentStorageProvider storage, java.util.Map validProps, org.hyperic.hq.measurement.agent.server.MeasurementSchedule schedStorage, MeasurementPluginManager pluginManager, LogTrackPluginManager ltPluginManager, ConfigTrackPluginManager ctPluginManager, ScheduleThread scheduleObject)
Method Detail |
---|
public void addTrackPlugin(java.lang.String id, java.lang.String pluginType, java.lang.String resourceName, ConfigResponse response) throws AgentRemoteException
addTrackPlugin
in interface MeasurementCommandsClient
AgentRemoteException
MeasurementCommandsClient.addTrackPlugin(java.lang.String, java.lang.String, java.lang.String, org.hyperic.util.config.ConfigResponse)
public void deleteProperties(DeleteProperties_args args) throws AgentRemoteException
deleteProperties
in interface MeasurementCommandsClient
AgentRemoteException
MeasurementCommandsClient.deleteProperties(org.hyperic.hq.measurement.agent.commands.DeleteProperties_args)
public GetMeasurements_result getMeasurements(GetMeasurements_args args) throws AgentRemoteException
MeasurementCommandsClient
getMeasurements
in interface MeasurementCommandsClient
args
- The collection of arguments to send to the remote Agent.
AgentRemoteException
- indicating a protocol errorMeasurementCommandsClient.getMeasurements(org.hyperic.hq.measurement.agent.commands.GetMeasurements_args)
public void removeTrackPlugin(java.lang.String id, java.lang.String pluginType) throws AgentRemoteException
removeTrackPlugin
in interface MeasurementCommandsClient
AgentRemoteException
MeasurementCommandsClient.removeTrackPlugin(java.lang.String, java.lang.String)
public void scheduleMeasurements(ScheduleMeasurements_args args) throws AgentRemoteException
MeasurementCommandsClient
scheduleMeasurements
in interface MeasurementCommandsClient
args
- The collection of arguments to send to the remote Agent.
AgentRemoteException
- indicating a protocol errorMeasurementCommandsClient.scheduleMeasurements(org.hyperic.hq.measurement.agent.commands.ScheduleMeasurements_args)
public void setProperties(SetProperties_args args) throws AgentRemoteException
setProperties
in interface MeasurementCommandsClient
AgentRemoteException
MeasurementCommandsClient.setProperties(org.hyperic.hq.measurement.agent.commands.SetProperties_args)
public void unscheduleMeasurements(UnscheduleMeasurements_args args) throws AgentRemoteException
MeasurementCommandsClient
unscheduleMeasurements
in interface MeasurementCommandsClient
args
- The collection of arguments to send to the remote Agent.
AgentRemoteException
- indicating an error unscheduling or
protocol problem.MeasurementCommandsClient.unscheduleMeasurements(org.hyperic.hq.measurement.agent.commands.UnscheduleMeasurements_args)
public void closeConnection()
closeConnection
in interface MeasurementCommandsClient
|
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 |