TCallbackShardAllocator Class
IShardAllocator that delegates the choice to a TShardAllocatorFunc anonymous function.
Syntax
Unit: Aurelius.Tenancy.Provisioning
TCallbackShardAllocator = class(TInterfacedObject, IShardAllocator);
Constructors
| Name | Description |
|---|---|
| Create | Creates a new TCallbackShardAllocator instance. |
Methods
| Name | Description |
|---|---|
| AllocateShard | Returns the shard chosen by the callback. |