Exemple #1
0
 public bool TryUpdate(ReplicaKeyValue kv, long expectedVersion)
 {
     return(Helper.TryUpdate(store, tx, kv.Key, kv.ValueLength, kv.Value, expectedVersion) == True);
 }
Exemple #2
0
 public bool TryAdd(ReplicaKeyValue kv)
 {
     return(Helper.TryAdd(store, tx, kv.Key, kv.ValueLength, kv.Value) == True);
 }
Exemple #3
0
 public void Update(ReplicaKeyValue kv, long expectedVersion)
 {
     Helper.Update(store, tx, kv.Key, kv.ValueLength, kv.Value, expectedVersion);
 }
Exemple #4
0
 public void Add(ReplicaKeyValue kv)
 {
     Helper.Add(store, tx, kv.Key, kv.ValueLength, kv.Value);
 }