C# Класс FoundationDB.Layers.Directories.FdbHighContentionAllocator

Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
GetWindowSize int

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
GetWindowSize ( long start ) : int

Описание методов

AllocateAsync() публичный Метод

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 [
Результат Task

FdbHighContentionAllocator() публичный Метод

Create an allocator operating under a specific location
public FdbHighContentionAllocator ( FdbSubspace subspace ) : FoundationDB.Client
subspace FdbSubspace
Результат FoundationDB.Client