public class MemoryStatus extends Status
| Constructor and Description |
|---|
MemoryStatus(StatusCode code,
long free,
long total)
Creates a new status object with the given code.
|
| Modifier and Type | Method and Description |
|---|---|
long |
getFreeMemory()
Gets JVM free memory.
|
long |
getTotalMemory()
Gets JVM total memory.
|
getCode, getDescriptionpublic MemoryStatus(StatusCode code, long free, long total)
code - Status code.free - JVM free memory in bytes.total - JVM total memory in bytes.Status.getCode()Copyright © 2004-2012 Jasig. All Rights Reserved.