コード例 #1
0
 public bool ConcurrentDeleter(ref Key key, ref Value value, ref RecordInfo recordInfo, ref DeleteInfo deleteInfo, out bool lockFailed)
 {
     lockFailed = false;
     recordInfo.SetDirty();
     recordInfo.Tombstone = true;
     return(_clientSession.functions.ConcurrentDeleter(ref key, ref value, ref deleteInfo));
 }
コード例 #2
0
 public bool ConcurrentWriter(ref Key key, ref Input input, ref Value src, ref Value dst, ref Output output, ref RecordInfo recordInfo, ref UpsertInfo upsertInfo, out bool lockFailed)
 {
     // Note: KeyIndexes do not need notification of in-place updates because the key does not change.
     lockFailed = false;
     recordInfo.SetDirty();
     return(_clientSession.functions.ConcurrentWriter(ref key, ref input, ref src, ref dst, ref output, ref upsertInfo));
 }
コード例 #3
0
 public void PostSingleDeleter(ref Key key, ref RecordInfo recordInfo, ref DeleteInfo deleteInfo)
 {
     recordInfo.SetDirty();
     _clientSession.functions.PostSingleDeleter(ref key, ref deleteInfo);
 }
コード例 #4
0
 private bool ConcurrentDeleterNoLock(ref Key key, ref Value value, ref RecordInfo recordInfo, ref DeleteInfo deleteInfo)
 {
     recordInfo.SetDirty();
     recordInfo.SetTombstone();
     return(_clientSession.functions.ConcurrentDeleter(ref key, ref value, ref deleteInfo));
 }
コード例 #5
0
 private bool ConcurrentWriterNoLock(ref Key key, ref Input input, ref Value src, ref Value dst, ref Output output, ref RecordInfo recordInfo, ref UpsertInfo upsertInfo)
 {
     recordInfo.SetDirty();
     // Note: KeyIndexes do not need notification of in-place updates because the key does not change.
     return(_clientSession.functions.ConcurrentWriter(ref key, ref input, ref src, ref dst, ref output, ref upsertInfo));
 }