public class MemoryInfoRepresentation extends Object
Modifier and Type | Field and Description |
---|---|
protected long |
free |
protected String |
freeFormated |
protected long |
freePercentage |
protected long |
total |
protected String |
totalFormated |
protected long |
used |
protected String |
usedFormated |
Constructor and Description |
---|
MemoryInfoRepresentation() |
Modifier and Type | Method and Description |
---|---|
static MemoryInfoRepresentation |
create() |
long |
getFree() |
String |
getFreeFormated() |
long |
getFreePercentage() |
long |
getTotal() |
String |
getTotalFormated() |
long |
getUsed() |
String |
getUsedFormated() |
protected long total
protected String totalFormated
protected long used
protected String usedFormated
protected long free
protected long freePercentage
protected String freeFormated
public static MemoryInfoRepresentation create()
public long getTotal()
public String getTotalFormated()
public long getFree()
public String getFreeFormated()
public long getUsed()
public String getUsedFormated()
public long getFreePercentage()
Copyright © 2019 JBoss by Red Hat. All rights reserved.