Rio Project 4.2 API Documentation



org.rioproject.system.measurable
Interface MeasurableMonitor<M extends MeasuredResource>

All Known Subinterfaces:
MXBeanMonitor<T>
All Known Implementing Classes:
CPUExecHandler, DiskSpaceMonitor, FlatlineMonitor, GenericCPUMeasurer, LinuxHandler, MacTopOutputParser, MemoryPoolMXBeanMonitor, MpstatOutputParser, ProcessCPUHandler, ProcessMemoryMonitor, SystemCPUHandler, SystemMemoryMonitor

public interface MeasurableMonitor<M extends MeasuredResource>

The MeasurableMonitor defines the semantics needed to provide a feedback mechanism to measure a MeasurableCapability

Author:
Dennis Reedy

Method Summary
 M getMeasuredResource()
          Get the MeasuredResource
 void setID(String id)
          Set the identifier for the resource being measured
 void setThresholdValues(ThresholdValues tVals)
          Set the ThresholdValues for the resource being measured
 void terminate()
          Terminate any collection mechanisms
 

Method Detail

terminate

void terminate()
Terminate any collection mechanisms


setID

void setID(String id)
Set the identifier for the resource being measured

Parameters:
id - The identifier

setThresholdValues

void setThresholdValues(ThresholdValues tVals)
Set the ThresholdValues for the resource being measured

Parameters:
tVals - The ThresholdValues

getMeasuredResource

M getMeasuredResource()
Get the MeasuredResource

Returns:
The MeasuredResource for the MeasurableMonitor

Copyright © Rio Project.

Copyright © 2006-2011 Rio Project. All Rights Reserved.