TShardAllocatorFunc Anonymous method
Anonymous function that chooses the shard for a new tenant.
Remarks
Tenant: The tenant being provisioned. Shards: All shards registered in the catalog. Returns the id of the chosen shard, or an empty string if no shard is available.
Syntax
Unit: Aurelius.Tenancy.Provisioning
TShardAllocatorFunc = reference to function(const Tenant: TTenantInfo; const Shards: TArray<TShardInfo>): string;