Esempio n. 1
0
 public bool SetLastPos(WriteTransaction txn, string replicaId, ulong pos) =>
 txn.AddOrUpdate(_table, ToPosTableKey(replicaId), ToPosTableValue(pos));
Esempio n. 2
0
 public bool SetLastClock(WriteTransaction txn, string replicaId, VectorClock clock) =>
 txn.AddOrUpdate(_table, ToClockTableKey(replicaId), ToClockTableValue(clock));
Esempio n. 3
0
 public bool SetCounters(WriteTransaction txn, ReplicaCounters counters) =>
 txn.AddOrUpdate(_table, _countersKey, ToCountersTableValue(counters));
Esempio n. 4
0
 public bool SetLastClock(WriteTransaction txn, VectorClock clock) =>
 txn.AddOrUpdate(_table, _clockKey, ToClockTableValue(clock));
Esempio n. 5
0
 public bool AddOrUpdate(WriteTransaction txn, TableKey key, KvMetadata metadata) =>
 txn.AddOrUpdate(_table, key, ToTableValue(metadata));