public class MemoryUsageImpl extends Object implements MemoryUsage
Constructor and Description |
---|
MemoryUsageImpl(long committed,
long max,
long init,
long used) |
Modifier and Type | Method and Description |
---|---|
long |
getCommitted()
Returns the amount of memory in bytes that is committed for the Java virtual machine to use.
|
long |
getInit()
Returns the amount of memory in bytes that the Java virtual machine initially requests from the operating system for memory management.
|
long |
getMax()
Returns the maximum amount of memory in bytes that can be used for memory management.
|
long |
getUsed()
Returns the amount of used memory in bytes.
|
public MemoryUsageImpl(long committed, long max, long init, long used)
public long getCommitted()
MemoryUsage
getCommitted
in interface MemoryUsage
public long getMax()
MemoryUsage
getMax
in interface MemoryUsage
public long getInit()
MemoryUsage
getInit
in interface MemoryUsage
public long getUsed()
MemoryUsage
getUsed
in interface MemoryUsage
Copyright © 2020 Bonitasoft S.A. All rights reserved.