public class VisorCacheMetrics extends Object implements Serializable
| Constructor and Description |
|---|
VisorCacheMetrics(String cacheName,
UUID nodeId,
int cpus,
double heapUsed,
double cpuLoad,
long upTime,
int size,
long lastRead,
long lastWrite,
int hits,
int misses,
int reads,
int writes,
VisorCacheQueryMetrics qryMetrics)
Create data transfer object with given parameters.
|
| Modifier and Type | Method and Description |
|---|---|
String |
cacheName() |
double |
cpuLoad() |
int |
cpus() |
double |
heapUsed() |
int |
hits() |
long |
lastRead() |
long |
lastWrite() |
int |
misses() |
UUID |
nodeId() |
VisorCacheQueryMetrics |
queryMetrics() |
int |
reads() |
int |
size() |
String |
toString() |
long |
upTime() |
int |
writes() |
public VisorCacheMetrics(String cacheName, UUID nodeId, int cpus, double heapUsed, double cpuLoad, long upTime, int size, long lastRead, long lastWrite, int hits, int misses, int reads, int writes, VisorCacheQueryMetrics qryMetrics)
cacheName - Cache name.nodeId - Node id.cpus - Number of CPUs available to the JVMheapUsed - Percent of heap memory used.cpuLoad - Percent of estimated CPU usage.upTime - Uptime of the JVM in milliseconds.size - Number of elements in the cache.lastRead - Last read time of the owning cache.lastWrite - Last write time of the owning cache.hits - Hits of the owning cache.misses - Misses of the owning cache.reads - Total number of reads of the owning cache.writes - Total number of writes of the owning cache.qryMetrics - Gets query metrics for cache.public String cacheName()
public UUID nodeId()
public int cpus()
public double heapUsed()
public double cpuLoad()
public long upTime()
public int size()
public long lastRead()
public long lastWrite()
public int hits()
public int misses()
public int reads()
public int writes()
public VisorCacheQueryMetrics queryMetrics()
Copyright © 2014. All rights reserved.