C# Class FoundationDB.Layers.Directories.FdbHighContentionAllocator

Afficher le fichier Open project: BedeGaming/foundationdb-dotnet-client Class Usage Examples

Private Properties

Свойство Type Description
GetWindowSize int

Méthodes publiques

Méthode Description
AllocateAsync ( [ trans ) : Task

Returns a 64-bit integer that 1) has never and will never be returned by another call to this method on the same subspace 2) is nearly as short as possible given the above

FdbHighContentionAllocator ( FdbSubspace subspace ) : FoundationDB.Client

Create an allocator operating under a specific location

Private Methods

Méthode Description
GetWindowSize ( long start ) : int

Method Details

AllocateAsync() public méthode

Returns a 64-bit integer that 1) has never and will never be returned by another call to this method on the same subspace 2) is nearly as short as possible given the above
public AllocateAsync ( [ trans ) : Task
trans [
Résultat Task

FdbHighContentionAllocator() public méthode

Create an allocator operating under a specific location
public FdbHighContentionAllocator ( FdbSubspace subspace ) : FoundationDB.Client
subspace FdbSubspace
Résultat FoundationDB.Client