TransactionClearRange() 공개 정적인 메소드

public static TransactionClearRange ( TransactionHandle transaction, Slice beginKey, Slice endKey ) : void
transaction TransactionHandle
beginKey Slice
endKey Slice
리턴 void
예제 #1
0
 /// <inheritdoc />
 public void ClearRange(ReadOnlySpan <byte> beginKeyInclusive, ReadOnlySpan <byte> endKeyExclusive)
 {
     FdbNative.TransactionClearRange(m_handle, beginKeyInclusive, endKeyExclusive);
     // There is an overhead of 28-byte per operation
     Interlocked.Add(ref m_payloadBytes, beginKeyInclusive.Length + endKeyExclusive.Length + 28);
 }
 public void ClearRange(Slice beginKeyInclusive, Slice endKeyExclusive)
 {
     FdbNative.TransactionClearRange(m_handle, beginKeyInclusive, endKeyExclusive);
     // There is an overhead of 28-byte per operation
     Interlocked.Add(ref m_payloadBytes, beginKeyInclusive.Count + endKeyExclusive.Count + 28);
 }