This class tries to simulate performance seen in the high replication
datastore using estimated probabilities of a transaction committing after a
given amount of time.
Set the probability a txn will be applied after a given amount of time.
Args
classification_map
A list of tuples containing (float between 0 and 1,
number of milliseconds) that define the probability of a transaction
applying after a given amount of time.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2022-09-30 UTC."],[[["This class simulates high replication datastore performance by estimating transaction commit probabilities over time."],["It inherits from `BaseHighReplicationConsistencyPolicy`, `BaseConsistencyPolicy`, and `expected_type`."],["The `SetClassificationMap` method allows setting the probability of a transaction being applied after a specific time."],["The classification map is set using a list of tuples defining probability (between 0 and 1) and the time it occurs in milliseconds."]]],[]]