Package oracle.nosql.driver.ops
Class ReplicaStatsResult
java.lang.Object
oracle.nosql.driver.ops.Result
oracle.nosql.driver.ops.ReplicaStatsResult
Cloud service only.
ReplicaStatsResult is returned from NoSQLHandle.getReplicaStats(oracle.nosql.driver.ops.ReplicaStatsRequest)
.
It contains replica statistics for the requested table.
- Since:
- 5.4.13
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
ReplicaStats contains information about replica lag for a specific replica. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionlong
Returns the next start time.Returns replica statistics information based on the arguments of theReplicaStatsRequest
used for the request.Returns the table name used by the operationMethods inherited from class oracle.nosql.driver.ops.Result
getRateLimitDelayedMs, getRetryStats
-
Constructor Details
-
ReplicaStatsResult
public ReplicaStatsResult()
-
-
Method Details
-
getTableName
Returns the table name used by the operation- Returns:
- the table name
-
getNextStartTime
public long getNextStartTime()Returns the next start time. This can be provided toReplicaStatsRequest
to be used as a starting point or listing replica stats records.- Returns:
- the next start time
-
getStatsRecord
Returns replica statistics information based on the arguments of theReplicaStatsRequest
used for the request. It will contain stats for either one replica or all replicas.- Returns:
- a map of replica name to replica stats information collection
-