C# Class FoundationDB.Layers.Collections.FdbRankedSet

Provides a high-contention Queue class
Afficher le fichier Open project: BedeGaming/foundationdb-dotnet-client

Méthodes publiques

Méthode Description
ClearAllAsync ( [ trans ) : System.Threading.Tasks.Task

Clears the entire set.

ContainsAsync ( [ trans, Slice key ) : Task
EraseAsync ( [ trans, Slice key ) : System.Threading.Tasks.Task
FdbRankedSet ( [ subspace ) : FoundationDB.Client

Initializes a new ranked set at a given location

GetNthAsync ( [ trans, long rank ) : Task
InsertAsync ( [ trans, Slice key ) : System.Threading.Tasks.Task
OpenAsync ( [ trans ) : System.Threading.Tasks.Task
Rank ( [ trans, Slice key ) : Task
SizeAsync ( [ trans ) : Task

Returns the number of items in the set.

Private Methods

Méthode Description
DecodeCount ( Slice v ) : long
EncodeCount ( long c ) : Slice
GetPreviousNodeAsync ( IFdbTransaction trans, int level, Slice key ) : Task
SetupLevelsAsync ( IFdbTransaction trans ) : System.Threading.Tasks.Task
SlowCountAsync ( IFdbReadOnlyTransaction trans, int level, Slice beginKey, Slice endKey ) : Task

Method Details

ClearAllAsync() public méthode

Clears the entire set.
public ClearAllAsync ( [ trans ) : System.Threading.Tasks.Task
trans [
Résultat System.Threading.Tasks.Task

ContainsAsync() public méthode

public ContainsAsync ( [ trans, Slice key ) : Task
trans [
key Slice
Résultat Task

EraseAsync() public méthode

public EraseAsync ( [ trans, Slice key ) : System.Threading.Tasks.Task
trans [
key Slice
Résultat System.Threading.Tasks.Task

FdbRankedSet() public méthode

Initializes a new ranked set at a given location
public FdbRankedSet ( [ subspace ) : FoundationDB.Client
subspace [ Subspace where the set will be stored
Résultat FoundationDB.Client

GetNthAsync() public méthode

public GetNthAsync ( [ trans, long rank ) : Task
trans [
rank long
Résultat Task

InsertAsync() public méthode

public InsertAsync ( [ trans, Slice key ) : System.Threading.Tasks.Task
trans [
key Slice
Résultat System.Threading.Tasks.Task

OpenAsync() public méthode

public OpenAsync ( [ trans ) : System.Threading.Tasks.Task
trans [
Résultat System.Threading.Tasks.Task

Rank() public méthode

public Rank ( [ trans, Slice key ) : Task
trans [
key Slice
Résultat Task

SizeAsync() public méthode

Returns the number of items in the set.
public SizeAsync ( [ trans ) : Task
trans [
Résultat Task