TFixedShardAllocator Class
IShardAllocator that always allocates the same shard.
Syntax
Unit: Aurelius.Tenancy.Provisioning
TFixedShardAllocator = class(TInterfacedObject, IShardAllocator);
Constructors
| Name | Description |
|---|---|
| Create | Creates a new TFixedShardAllocator instance. |
Methods
| Name | Description |
|---|---|
| AllocateShard | Returns the fixed shard id, regardless of the tenant and the registered shards. |