IFdbTenantHandler

Namespace: FoundationDB.Client.Core · interface

Implements: IDisposable

Basic API for FoundationDB tenants

Properties

Database

IFdbDatabaseHandler Database { get; }

Database handler that owns this handle

IsClosed

bool IsClosed { get; }

false if the handle is still valid; otherwise, true

Methods

CreateTransaction

IFdbTransactionHandler CreateTransaction(FdbOperationContext context)

Creates a new transaction handle that will be scoped to this tenant

GetIdAsync

Task<long> GetIdAsync(CancellationToken ct)

Returns the id of this tenant