ReplicaStatsResult

class borneo.ReplicaStatsResult[source]

Bases: Result

Cloud service only

ReplicaStatsResult is returned from NoSQLHandle.get_replicat_stats(). It contains replica statistics for the requested table

Added in version 5.4.2.

Methods Summary

get_next_start_time()

Returns the next start time.

get_stats_record()

Returns replica statistics information based on the arguments of the ReplicaStatsRequest used for the request.

get_table_name()

Returns the table name used by the operation

Methods Documentation

get_next_start_time()[source]

Returns the next start time. This can be provided to a ReplicaStatsRequest to be used as a starting point for listing stats records

:returns the next start time :rtype: in

get_stats_record()[source]

Returns replica statistics information based on the arguments of the ReplicaStatsRequest used for the request. It contains stats for either one replica or all replicas.

The stats format is a dict where the key is a replica name and the value is a list of ReplicaStats objects

Returns:

the stats

Return type:

dict

get_table_name()[source]

Returns the table name used by the operation

:returns the table name :rtype: str