public class KVStats extends Object implements Serializable
KVStore.getStats(boolean)
,
Serialized FormModifier and Type | Method and Description |
---|---|
List<NodeMetrics> |
getNodeMetrics()
Returns the metrics associated with each node in the KVStore.
|
List<OperationMetrics> |
getOpMetrics()
Returns a list of metrics associated with each operation supported by
KVStore.
|
long |
getRequestRetryCount()
Returns the total number of times requests were retried.
|
StoreIteratorMetrics |
getStoreIteratorMetrics()
Deprecated.
since 3.4, no longer supported. All of the methods of the
returned StoreIteratorMetrics object will return 0.
|
String |
toString()
Returns a descriptive string containing metrics for each operation that
was actually performed over during the statistics gathering interval,
one per line.
|
public List<OperationMetrics> getOpMetrics()
OperationMetrics.getOperationName()
.
It's worth noting that the metrics related to the Iterator methods are
special, since each use of an iterator call may result in multiple
underlying operations depending upon the batchSize
used for
the iteration.
public String toString()
public List<NodeMetrics> getNodeMetrics()
@Deprecated public StoreIteratorMetrics getStoreIteratorMetrics()
public long getRequestRetryCount()
Copyright (c) 2011, 2017 Oracle and/or its affiliates. All rights reserved.