Class ReplicaStatsResult

java.lang.Object
oracle.nosql.driver.ops.Result
oracle.nosql.driver.ops.ReplicaStatsResult

public class ReplicaStatsResult extends Result
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:
  • Constructor Details

    • ReplicaStatsResult

      public ReplicaStatsResult()
  • Method Details

    • getTableName

      public String 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 to ReplicaStatsRequest to be used as a starting point or listing replica stats records.
      Returns:
      the next start time
    • getStatsRecord

      public Map<String,ReplicaStatsResult.ReplicaStats[]> getStatsRecord()
      Returns replica statistics information based on the arguments of the ReplicaStatsRequest 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