public class MemoryStats extends Object
| Modifier and Type | Field and Description |
|---|---|
private long |
usageSum |
| Constructor and Description |
|---|
MemoryStats() |
MemoryStats(long usageSum) |
| Modifier and Type | Method and Description |
|---|---|
long |
getUsageSum() |
MemoryStats |
merge(MemoryStats memoryStats) |
void |
setUsageSum(long usageSum) |
String |
toString() |
public MemoryStats()
public MemoryStats(long usageSum)
usageSum - the sum of the memory usage to set (in bytes)public long getUsageSum()
public void setUsageSum(long usageSum)
usageSum - the sum of the memory usage to set (in bytes)public MemoryStats merge(MemoryStats memoryStats)
Copyright © 2017–2020. All rights reserved.