| Modifier and Type | Class and Description |
|---|---|
static class |
MemoryInfo.CurrentMemValues
Holds a map of name, value pairs that describe the current memory state of the
system.
|
| Constructor and Description |
|---|
MemoryInfo(java.util.Collection<java.lang.String> registerKeys)
Creates memory information with arbitrary keys.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Map<java.lang.String,Metric> |
getMetrics() |
void |
run() |
MemoryInfo.CurrentMemValues |
values()
Gets the current values.
|
public MemoryInfo(java.util.Collection<java.lang.String> registerKeys)
registerKeys - The names of the keys for which gauges are created.public void run()
run in interface java.lang.Runnablepublic MemoryInfo.CurrentMemValues values()
public java.util.Map<java.lang.String,Metric> getMetrics()