C# 클래스 FoundationDB.Layers.Directories.FdbHighContentionAllocator

파일 보기 프로젝트 열기: BedeGaming/foundationdb-dotnet-client 1 사용 예제들

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