public class NodeMemoryInfo extends Object implements NodeMemory
| Constructor and Description |
|---|
NodeMemoryInfo(long[] memInfoValues,
long fakeMemTotal) |
| Modifier and Type | Method and Description |
|---|---|
long |
getActive() |
long |
getBuffers() |
long |
getCached() |
long |
getHighTotal() |
long |
getInactive() |
long |
getLowFree() |
long |
getLowTotal() |
long |
getMemFree() |
long |
getMemTotal() |
long |
getSwapCached() |
long |
getSwapFree() |
long |
getSwapTotal() |
public long getMemTotal()
getMemTotal in interface NodeMemorypublic long getMemFree()
getMemFree in interface NodeMemorypublic long getBuffers()
getBuffers in interface NodeMemorypublic long getCached()
getCached in interface NodeMemorypublic long getSwapCached()
getSwapCached in interface NodeMemorypublic long getActive()
getActive in interface NodeMemorypublic long getInactive()
getInactive in interface NodeMemorypublic long getSwapTotal()
getSwapTotal in interface NodeMemorypublic long getSwapFree()
getSwapFree in interface NodeMemorypublic long getHighTotal()
public long getLowTotal()
public long getLowFree()
Copyright © 2012–2017 The Apache Software Foundation. All rights reserved.