|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.rioproject.watch.Calculable
org.rioproject.system.measurable.memory.CalculableMemory
public class CalculableMemory
A Calculable used to collect process Memory utilization
| Constructor Summary | |
|---|---|
CalculableMemory(String id,
double utilization,
long when)
Creates new CalculableMemory |
|
CalculableMemory(String id,
double utilization,
ProcessMemoryUtilization memoryUtilization,
long when)
Creates new CalculableMemory |
|
| Method Summary | |
|---|---|
String |
getArchiveRecord()
Gets an archival representation for this Calculable |
double |
getFreeMemory()
Get the free memory |
double |
getTotalMemory()
Getter for property totalMemory. |
double |
getUsedMemory()
Get the used memory |
String |
toString()
Returns a string representation of the object. |
| Methods inherited from class org.rioproject.watch.Calculable |
|---|
equals, 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 |
|---|
public CalculableMemory(String id,
double utilization,
long when)
id - The identifier for this Calculable recordutilization - The utilization for the Calculable Recordwhen - The time when the recorded utilization was captured
public CalculableMemory(String id,
double utilization,
ProcessMemoryUtilization memoryUtilization,
long when)
id - The identifier for this Calculable recordutilization - The utilization for the Calculable RecordmemoryUtilization - Contains details for JVM memory utilizationwhen - The time when the recorded utilization was captured| Method Detail |
|---|
public double getTotalMemory()
public double getUsedMemory()
public double getFreeMemory()
public String toString()
toString in class Calculablepublic String getArchiveRecord()
getArchiveRecord in class Calculable
|
Copyright © Rio Project. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||