Rio Project 4.2 API Documentation
org.rioproject.system.capability.platform
Class Memory
java.lang.Object
org.rioproject.system.capability.PlatformCapability
org.rioproject.system.capability.platform.ByteOrientedDevice
org.rioproject.system.capability.platform.Memory
- All Implemented Interfaces:
- Serializable, Observer, ResourceCostProducer, PlatformCapabilityMBean
public class Memory
- extends ByteOrientedDevice
- implements Observer
Describes the amount of memory available for the Java Virtual Machine as
a qualitative resource.
- Author:
- Dennis Reedy
- See Also:
- Serialized Form
| Fields inherited from class org.rioproject.system.capability.PlatformCapability |
capabilities, description, DESCRIPTION, logger, MANUFACTURER, MODEL, NAME, NATIVE_LIBS, PROVISIONABLE, STATIC, VENDOR, VERSION |
|
Constructor Summary |
Memory()
Create a Memory capability |
Memory(String description)
Create a Memory capability with a description |
| Methods inherited from class org.rioproject.system.capability.PlatformCapability |
addDownloadRecord, addStagedSoftware, calculateResourceCost, clearAll, decrementUsage, defineAll, equals, getCapabilities, getClassPath, getConfigurationFile, getDescription, getDownloadRecords, getLoadableClassPath, getName, getPath, getPlatformKeys, getResourceCostModel, getStagedSoftware, getType, getUsageCount, getValue, hasBasicSupport, hashCode, incrementUsage, loadResources, matches, remove, setClassPath, setConfigurationFile, setDescription, setPath, setResourceCostModel, setType, supports, toString, versionSupported |
Memory
public Memory()
- Create a Memory capability
Memory
public Memory(String description)
- Create a Memory capability with a description
- Parameters:
description - The description
update
public void update(Observable o,
Object arg)
- Notification from the DiskSpace MeasurableCapability
- Specified by:
update in interface Observer
- Parameters:
o - The Observable objectarg - The argument, a
ProcessMemoryUtilization
instance
Copyright © 2006-2011 Rio Project. All Rights Reserved.