C# Class FoundationDB.Layers.Directories.FdbHighContentionAllocator

Mostrar archivo Open project: BedeGaming/foundationdb-dotnet-client Class Usage Examples

Private Properties

Property Type Description
GetWindowSize int

Public Methods

Method 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

Method Description
GetWindowSize ( long start ) : int

Method Details

AllocateAsync() public method

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 [
return Task

FdbHighContentionAllocator() public method

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