FdbHighContentionAllocator.State
Namespace: FoundationDB.Layers.Allocators · class
Constructors
State
State(IKeySubspace subspace, FdbHighContentionAllocator parent)
Properties
Parent
FdbHighContentionAllocator Parent { get; }
Subspace
IKeySubspace Subspace { get; }
Location of the allocator
Methods
AllocateAsync
Task<long> AllocateAsync(IFdbTransaction trans)
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