Property | Type | Description | |
---|---|---|---|
$appId | |||
$bootstrapFile | |||
$eventTriggerSet | |||
$id | |||
$logger | Psr\Log\LoggerInterface | ||
$producer | |||
$queue | |||
$redis | |||
$startOn | |||
$workerClass | |||
$workerConfig | region Worker *********************************************************** |
Method | Description | |
---|---|---|
__construct ( $id, $appId, $workerClass, $bootstrapFile ) | ||
parseManagerStatKey ( $key ) : array | ||
run ( ) : boolean |
Method | Description | |
---|---|---|
buildManagerLiveKey ( $id ) : string | ||
buildManagerStatKey ( ) : string | ||
eventTrigger ( $event ) | ||
finishManagerLive ( ) | ||
getAppId ( ) : mixed | ||
getBootstrapFile ( ) : mixed | ||
getId ( ) : mixed | ||
getLogger ( ) : Psr\Log\LoggerInterface | ||
getProducer ( ) : |
||
getQueue ( ) : |
||
getRedis ( ) : |
||
getStartOn ( ) : mixed | ||
getWorkerClass ( ) : mixed | ||
getWorkerConfig ( null $key = null ) : mixed | ||
isLimitsExceeded ( ) : boolean | ||
isProducerShutDown ( ) : boolean | ||
setAppId ( $appId ) | ||
setBootstrapFile ( $bootstrapFile ) | ||
setId ( $id ) | ||
setWorkerClass ( $workerClass ) | ||
startManagerLive ( ) | ||
waitDelay ( ) |
public __construct ( $id, $appId, $workerClass, $bootstrapFile ) | ||
$id | ||
$appId | ||
$workerClass | ||
$bootstrapFile |
protected buildManagerLiveKey ( $id ) : string | ||
$id | ||
return | string |
protected getLogger ( ) : Psr\Log\LoggerInterface | ||
return | Psr\Log\LoggerInterface |
protected getWorkerConfig ( null $key = null ) : mixed | ||
$key | null | |
return | mixed |
public static parseManagerStatKey ( $key ) : array | ||
$key | ||
return | array |
protected static LoggerInterface,Psr\Log $logger | ||
return | Psr\Log\LoggerInterface |