public final class NodeMetrics extends Object
AerospikeClient.enableMetrics(MetricsPolicy)).| Modifier and Type | Field and Description |
|---|---|
Counter |
bytesInCounter |
Counter |
bytesOutCounter |
| Constructor and Description |
|---|
NodeMetrics(MetricsPolicy policy)
Initialize extended node metrics.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addLatency(String namespace,
LatencyType type,
long elapsed)
Add elapsed time in nanoseconds to histogram map buckets corresponding to namespace & latency type.
|
Histograms |
getHistograms()
Returns the available Histograms (Containers for namespace-aggregated latency buckets)
|
public final Counter bytesInCounter
public final Counter bytesOutCounter
public NodeMetrics(MetricsPolicy policy)
public void addLatency(String namespace, LatencyType type, long elapsed)
public Histograms getHistograms()
Copyright © 2012–2025 Aerospike, Inc. All rights reserved.