Package oracle.kv.stats
Class KVStats
- java.lang.Object
-
- oracle.kv.stats.KVStats
-
- All Implemented Interfaces:
Serializable
public class KVStats extends Object implements Serializable
Statistics associated with accessing the KVStore from a client via the KVStore handle. These statistics are from the client's perspective and can therefore vary from client to client depending on the configuration and load on a specific client as well as the network path between the client and the nodes in the KVStore.- See Also:
KVStore.getStats(boolean)
, Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method 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.String
toString()
Returns a descriptive string, conforming to the json syntax.
-
-
-
Method Detail
-
getOpMetrics
public List<OperationMetrics> getOpMetrics()
Returns a list of metrics associated with each operation supported by KVStore. The following table lists the method names and the name associated with it by theOperationMetrics.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.- Returns:
- the list of metrics. One for each of the operations listed above.
-
toString
public String toString()
Returns a descriptive string, conforming to the json syntax.
-
getNodeMetrics
public List<NodeMetrics> getNodeMetrics()
Returns the metrics associated with each node in the KVStore.- Returns:
- a list containing one entry for each node in the KVStore.
-
getStoreIteratorMetrics
@Deprecated public StoreIteratorMetrics getStoreIteratorMetrics()
Deprecated.since 3.4, no longer supported. All of the methods of the returned StoreIteratorMetrics object will return 0.
-
getRequestRetryCount
public long getRequestRetryCount()
Returns the total number of times requests were retried. A single user-level request may be retried transparently at one or more nodes until the request succeeds or it times out. This count reflects those retry operations.
-
-