TShardPoolProvider.GetPool Method
Returns the connection pool of a shard, creating it on first access.
Remarks
Raises EShardUnavailable if the factory returns nil.
Syntax
Unit: Aurelius.Tenancy.Provider
function TShardPoolProvider.GetPool(const Shard: TShardInfo): IDBConnectionPool;
Parameters
| <-> | Parameter | Type | Description |
|---|---|---|---|
| const | Shard | TShardInfo | The shard whose pool is requested. |
Returns
The IDBConnectionPool serving the shard.