|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.LexGrid.util.SimpleMemUsageReporter.Snapshot
public static class SimpleMemUsageReporter.Snapshot
Convenience class for holding information about the heap
Constructor Summary | |
---|---|
SimpleMemUsageReporter.Snapshot(long currentTime,
long currentHeapUsage)
|
Method Summary | |
---|---|
long |
getHeapUsage()
|
long |
getHeapUsageDelta(SimpleMemUsageReporter.Snapshot previous)
|
long |
getTime()
|
long |
getTimeDelta(SimpleMemUsageReporter.Snapshot previous)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SimpleMemUsageReporter.Snapshot(long currentTime, long currentHeapUsage)
Method Detail |
---|
public long getTime()
public long getTimeDelta(SimpleMemUsageReporter.Snapshot previous)
previous
- - Optional, if null, will return the delta from the static
Snapshot on SimpleMemUsageReporter
public long getHeapUsage()
public long getHeapUsageDelta(SimpleMemUsageReporter.Snapshot previous)
previous
- - Optional, if null, will return the delta from the static
Snapshot on SimpleMemUsageReporter
|
Copyright: (c) 2004-2006 Mayo Foundation for Medical Education and Research (MFMER). All rights reserved. MAYO, MAYO CLINIC, and the triple-shield Mayo logo are trademarks and service marks of MFMER. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |