Метод | Описание | |
---|---|---|
AddConflictRange ( Slice beginKeyInclusive, Slice endKeyExclusive, FdbConflictRangeType type ) : void | ||
Atomic ( Slice key, Slice param, FdbMutationType type ) : void | ||
Cancel ( ) : void | ||
Clear ( Slice key ) : void | ||
ClearRange ( Slice beginKeyInclusive, Slice endKeyExclusive ) : void | ||
CommitAsync ( |
Attempts to commit the sets and clears previously applied to the database snapshot represented by this transaction to the actual database. The commit may or may not succeed – in particular, if a conflicting transaction previously committed, then the commit must fail in order to preserve transactional isolation. If the commit does succeed, the transaction is durably committed to the database and all subsequently started transactions will observe its effects. As with other client/server databases, in some failure scenarios a client may be unable to determine whether a transaction succeeded. In these cases, CommitAsync() will throw CommitUnknownResult error. The OnErrorAsync() function treats this error as retryable, so retry loops that don’t check for CommitUnknownResult could execute the transaction twice. In these cases, you must consider the idempotence of the transaction. |
|
Dispose ( ) : void | ||
FdbNativeTransaction ( |
||
GetAddressesForKeyAsync ( Slice key, |
||
GetAsync ( Slice key, bool snapshot, |
||
GetCommittedVersion ( ) : long | ||
GetKeyAsync ( FdbKeySelector selector, bool snapshot, |
||
GetKeysAsync ( FdbKeySelector selectors, bool snapshot, |
||
GetRangeAsync ( FdbKeySelector begin, FdbKeySelector end, FdbRangeOptions options, int iteration, bool snapshot, |
Asynchronously fetch a new page of results
|
|
GetReadVersionAsync ( |
||
GetValuesAsync ( Slice keys, bool snapshot, |
||
OnErrorAsync ( FdbError code, |
||
Reset ( ) : void | ||
Set ( Slice key, Slice value ) : void | ||
SetOption ( FdbTransactionOption option, Slice data ) : void | ||
SetReadVersion ( long version ) : void | ||
Watch ( Slice key, |
Метод | Описание | |
---|---|---|
Dispose ( bool disposing ) : void | ||
GetKeyResult ( |
||
GetKeyValueArrayResult ( |
||
GetStringArrayResult ( |
||
GetValueResultBytes ( |
||
ResetInternal ( ) : void | ||
TryGetValueResult ( |
public AddConflictRange ( Slice beginKeyInclusive, Slice endKeyExclusive, FdbConflictRangeType type ) : void | ||
beginKeyInclusive | Slice | |
endKeyExclusive | Slice | |
type | FdbConflictRangeType | |
Результат | void |
public Atomic ( Slice key, Slice param, FdbMutationType type ) : void | ||
key | Slice | |
param | Slice | |
type | FdbMutationType | |
Результат | void |
public ClearRange ( Slice beginKeyInclusive, Slice endKeyExclusive ) : void | ||
beginKeyInclusive | Slice | |
endKeyExclusive | Slice | |
Результат | void |
public CommitAsync ( |
||
cancellationToken | ||
Результат | Task |
public FdbNativeTransaction ( |
||
db | ||
handle | ||
Результат | FoundationDB.Client.Core |
public GetAddressesForKeyAsync ( Slice key, |
||
key | Slice | |
cancellationToken | ||
Результат | Task |
public GetAsync ( Slice key, bool snapshot, |
||
key | Slice | |
snapshot | bool | |
cancellationToken | ||
Результат | Task |
public GetKeyAsync ( FdbKeySelector selector, bool snapshot, |
||
selector | FdbKeySelector | |
snapshot | bool | |
cancellationToken | ||
Результат | Task |
public GetKeysAsync ( FdbKeySelector selectors, bool snapshot, |
||
selectors | FdbKeySelector | |
snapshot | bool | |
cancellationToken | ||
Результат | Task |
public GetRangeAsync ( FdbKeySelector begin, FdbKeySelector end, FdbRangeOptions options, int iteration, bool snapshot, |
||
begin | FdbKeySelector | |
end | FdbKeySelector | |
options | FdbRangeOptions | |
iteration | int | |
snapshot | bool | |
cancellationToken | ||
Результат | Task |
public GetReadVersionAsync ( |
||
cancellationToken | ||
Результат | Task |
public GetValuesAsync ( Slice keys, bool snapshot, |
||
keys | Slice | |
snapshot | bool | |
cancellationToken | ||
Результат | Task |
public OnErrorAsync ( FdbError code, |
||
code | FdbError | |
cancellationToken | ||
Результат | Task |
public Set ( Slice key, Slice value ) : void | ||
key | Slice | |
value | Slice | |
Результат | void |
public SetOption ( FdbTransactionOption option, Slice data ) : void | ||
option | FdbTransactionOption | |
data | Slice | |
Результат | void |
public SetReadVersion ( long version ) : void | ||
version | long | |
Результат | void |
public Watch ( Slice key, |
||
key | Slice | |
cancellationToken | ||
Результат | FdbWatch |