public class MemoryStats
extends java.lang.Object
Constructor and Description |
---|
MemoryStats(long free,
long total) |
Modifier and Type | Method and Description |
---|---|
long |
getFreeBytes()
The amount of memory that is currently free, in bytes.
|
long |
getTotalBytes()
The amount of memory that is available to the operating system,
in bytes.
|
java.lang.String |
toString() |
public long getFreeBytes()
public long getTotalBytes()
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2009 ThoughtWorks. All Rights Reserved.