public class MemorySensor extends Object
| Constructor and Description |
|---|
MemorySensor() |
| Modifier and Type | Method and Description |
|---|---|
static MemorySensor |
getInstance() |
int |
getInterval() |
long |
getMaxCommittedHeapSize() |
long |
getMaxUsedHeapSize() |
void |
measure() |
void |
reset() |
void |
setInterval(int interval) |
public static MemorySensor getInstance()
public int getInterval()
public void setInterval(int interval)
public long getMaxUsedHeapSize()
public long getMaxCommittedHeapSize()
public void reset()
public void measure()
Copyright © 2019. All rights reserved.