public class ResourceContent
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
ResourceContent.ResourceContentType |
Modifier and Type | Field and Description |
---|---|
static int |
BUSY |
static int |
IDLE |
static int |
IRQ |
static int |
MEM_FREE |
static int |
MEM_TOTAL |
static int |
MEM_USED |
static int |
NICE |
static int |
NONE |
static int |
SWAP_FREE |
static int |
SWAP_TOTAL |
static int |
SWAP_USED |
static int |
SYSTEM |
static int |
TIME_INTERVAL |
static int |
UPPER_BOUND |
static int |
USER |
static int |
UTILIZATION |
static int |
WAIT |
Constructor and Description |
---|
ResourceContent(ResourceContent.ResourceContentType type) |
Modifier and Type | Method and Description |
---|---|
double |
get(int idx) |
double[] |
getAllValues() |
int |
getCurrentPointer() |
java.lang.String |
getName(int idx) |
ResourceContent.ResourceContentType |
getType() |
void |
set(int idx,
java.lang.Double content) |
void |
setCurrentPointer(int idx) |
java.lang.String |
toString() |
public static final int NONE
public static final int TIME_INTERVAL
public static final int UTILIZATION
public static final int IDLE
public static final int WAIT
public static final int IRQ
public static final int NICE
public static final int SYSTEM
public static final int USER
public static final int MEM_TOTAL
public static final int MEM_USED
public static final int MEM_FREE
public static final int SWAP_TOTAL
public static final int SWAP_USED
public static final int SWAP_FREE
public static final int BUSY
public static final int UPPER_BOUND
public ResourceContent(ResourceContent.ResourceContentType type)
public void setCurrentPointer(int idx)
public int getCurrentPointer()
public void set(int idx, java.lang.Double content)
public double get(int idx)
public java.lang.String getName(int idx)
public double[] getAllValues()
public java.lang.String toString()
toString
in class java.lang.Object
public ResourceContent.ResourceContentType getType()