public static TransactionAtomicOperation ( |
||
transaction | ||
key | Slice | |
param | Slice | |
operationType | FdbMutationType | |
return | void |
/// <inheritdoc /> public void Atomic(ReadOnlySpan <byte> key, ReadOnlySpan <byte> param, FdbMutationType type) { FdbNative.TransactionAtomicOperation(m_handle, key, param, type); //TODO: what is the overhead for atomic operations? Interlocked.Add(ref m_payloadBytes, key.Length + param.Length); }
public void Atomic(Slice key, Slice param, FdbMutationType type) { FdbNative.TransactionAtomicOperation(m_handle, key, param, type); //TODO: what is the overhead for atomic operations? Interlocked.Add(ref m_payloadBytes, key.Count + param.Count); }