Zum Hauptinhalt springen

IStreamDataTenantServicesProvider

Namespace: Meshmakers.Octo.Runtime.Contracts.StreamData

Resolves the tenant-scoped stream-data services for code that runs outside a tenant context, such as the blueprint engine: after a blueprint seed created new archives, the engine activates them and queues the backfill of new rollups through these services. The storage backend registers the implementation; a host without one installs blueprints as before and leaves new archives CkArchiveStatus.Created.

public interface IStreamDataTenantServicesProvider

Methods​

GetAsync(String, CancellationToken)​

Returns the stream-data services of tenantId, or null when the tenant is unknown or no stream-data backend is registered.

Task<StreamDataTenantServices> GetAsync(string tenantId, CancellationToken cancellationToken)

Parameters​

tenantId String
The tenant.

cancellationToken CancellationToken
Cancels the lookup.

Returns​

Task<StreamDataTenantServices>