Rio Project 4.2 API Documentation
org.rioproject.system.measurable.memory
Class SystemMemory
java.lang.Object
org.rioproject.watch.Watch
org.rioproject.watch.ThresholdWatch
org.rioproject.watch.PeriodicWatch
org.rioproject.system.measurable.MeasurableCapability
org.rioproject.system.measurable.memory.Memory
org.rioproject.system.measurable.memory.SystemMemory
- All Implemented Interfaces:
- ResourceCostProducer, MeasurableCapabilityMBean, PeriodicWatchMBean, ThresholdWatchMBean, WatchMBean
public class SystemMemory
- extends Memory
The SystemMemory object measures the memory utilization for a physical
machine
- Author:
- Dennis Reedy
| Methods inherited from class org.rioproject.system.measurable.MeasurableCapability |
addSecondaryThresholdManager, addWatchRecord, calculateResourceCost, getConfiguration, getMeasuredResource, getObservable, getSampleSize, getSLA, getThresholdManagers, isEnabled, removeSecondaryThresholdManager, setEnabled, setLastMeasuredResource, setMeasurableMonitor, setResourceCostModel, setSampleSize, setSLA, setWatchDataSource |
| Methods inherited from class org.rioproject.watch.ThresholdWatch |
addThresholdListener, getBreachedCount, getClearedCount, getCurrentHighThreshold, getCurrentLowThreshold, getHighThreshold, getLowThreshold, getThresholdManager, getThresholdValues, removeThresholdListener, setCurrentHighThreshold, setCurrentLowThreshold, setThresholdValues |
| Methods inherited from class org.rioproject.watch.Watch |
clear, equals, getCalculables, getId, getLastCalculableValue, getView, getWatchDataSource, hashCode, main, setView, toString |
SystemMemory
public SystemMemory(Configuration config)
- Construct a Memory object
- Parameters:
config - Configuration object
getComponentName
protected String getComponentName()
- Overrides:
getComponentName in class Memory
checkValue
public void checkValue()
- Description copied from interface:
PeriodicWatchMBean
- Abstract method to check the watch's value at the periodic interval
- Specified by:
checkValue in interface PeriodicWatchMBean- Overrides:
checkValue in class Memory
createMeasurableMonitor
protected MeasurableMonitor createMeasurableMonitor(Configuration config)
throws ConfigurationException
- Overrides:
createMeasurableMonitor in class Memory
- Throws:
ConfigurationException
Copyright © 2006-2011 Rio Project. All Rights Reserved.