Метод | Описание | |
---|---|---|
__construct ( Repo2\QueryReactor\Sharding\ShardingService $sharding, string $controllerClass ) | ||
getLink ( Repo2\QueryReactor\Driver $driver, Repo2\QueryReactor\Query $query ) | ||
getQuery ( Repo2\QueryReactor\Driver $driver, $link ) |
Метод | Описание | |
---|---|---|
pickGlobal ( ) : Repo2\QueryReactor\Controller | ||
pickShard ( Repo2\QueryReactor\Sharding\ShardedQuery $query ) : Repo2\QueryReactor\Controller |
public __construct ( Repo2\QueryReactor\Sharding\ShardingService $sharding, string $controllerClass ) | ||
$sharding | Repo2\QueryReactor\Sharding\ShardingService | |
$controllerClass | string |
public getLink ( Repo2\QueryReactor\Driver $driver, Repo2\QueryReactor\Query $query ) | ||
$driver | Repo2\QueryReactor\Driver | |
$query | Repo2\QueryReactor\Query |
public getQuery ( Repo2\QueryReactor\Driver $driver, $link ) | ||
$driver | Repo2\QueryReactor\Driver |