Rio Project 4.2 API Documentation



org.rioproject.system.measurable.memory
Class CalculableSystemMemory

java.lang.Object
  extended by org.rioproject.watch.Calculable
      extended by org.rioproject.system.measurable.memory.CalculableSystemMemory
All Implemented Interfaces:
Serializable

public class CalculableSystemMemory
extends Calculable

A Calculable used to collect system memory utilization

Author:
Dennis Reedy
See Also:
Serialized Form

Constructor Summary
CalculableSystemMemory(String id, double value, long when, SystemMemoryUtilization memoryUtilization)
           
 
Method Summary
 SystemMemoryUtilization getMemoryUtilization()
           
 String toString()
          Returns a string representation of the object.
 
Methods inherited from class org.rioproject.watch.Calculable
equals, getArchiveRecord, getDate, getDetail, getId, getValue, getWhen, hashCode, setDetail, setId, setValue, setWhen
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CalculableSystemMemory

public CalculableSystemMemory(String id,
                              double value,
                              long when,
                              SystemMemoryUtilization memoryUtilization)
Method Detail

getMemoryUtilization

public SystemMemoryUtilization getMemoryUtilization()

toString

public String toString()
Description copied from class: Calculable
Returns a string representation of the object.

Overrides:
toString in class Calculable
Returns:
String representation of the object.

Copyright © Rio Project.

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