Table of Contents

TTenantRoutingCache.GetShard Method

Returns the information of a shard, from the cache or from the catalog.

Syntax

Unit: Aurelius.Tenancy.Cache

function TTenantRoutingCache.GetShard(const ShardId: string): TShardInfo;

Parameters

<-> Parameter Type Description
const ShardId string The id of the shard.

Returns

The TShardInfo of the shard, or an empty record if the catalog does not track the shard (in which case callers should treat the shard as active).

See also