App Engine Python SDK  v1.6.9 rev.445
The Python runtime is available as an experimental Preview feature.
Public Member Functions | List of all members
google.appengine.datastore.datastore_stub_util.TimeBasedHRConsistencyPolicy Class Reference
Inheritance diagram for google.appengine.datastore.datastore_stub_util.TimeBasedHRConsistencyPolicy:
google.appengine.datastore.datastore_stub_util.BaseHighReplicationConsistencyPolicy google.appengine.datastore.datastore_stub_util.BaseConsistencyPolicy

Public Member Functions

def SetClassificationMap
 

Detailed Description

A High Replication Datastore consiseny policy based on elapsed time.

This class tries to simulate performance seen in the high replication
datastore using estimated probabilities of a transaction commiting after a
given amount of time.

Member Function Documentation

def google.appengine.datastore.datastore_stub_util.TimeBasedHRConsistencyPolicy.SetClassificationMap (   self,
  classification_map 
)
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 miliseconds) that define the probability of a transaction
applying after a given amount of time.

The documentation for this class was generated from the following file: