PHP 클래스 Repo2\QueryReactor\Sharding\ShardingController
파일 보기
프로젝트 열기: repo2/query-reactor
공개 메소드들
메소드 |
설명 |
|
__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 |
|