class PoolingShardManager implements ShardManager (View source)

Shard Manager for the Connection Pooling Shard Strategy

Methods

__construct(PoolingShardConnection $conn)

No description

void
selectGlobal()

No description

void
selectShard(string $distributionValue)

No description

string
getCurrentDistributionValue()

No description

array
getShards()

No description

array
queryAll(string $sql, array $params, array $types)

No description

Details

__construct(PoolingShardConnection $conn)

Parameters

PoolingShardConnection $conn

void selectGlobal()

Return Value

void

void selectShard(string $distributionValue)

Parameters

string $distributionValue

Return Value

void

string getCurrentDistributionValue()

Return Value

string

array getShards()

Return Value

array

array queryAll(string $sql, array $params, array $types)

Parameters

string $sql
array $params
array $types

Return Value

array

Exceptions

RuntimeException