PHP Class Cronario\Manager

Inheritance: extends Thread
Afficher le fichier Open project: cronario/cronario

Protected Properties

Свойство Type Description
$appId
$bootstrapFile
$eventTriggerSet
$id
$logger Psr\Log\LoggerInterface
$producer Producer
$queue Queue
$redis Predis\Client
$startOn
$workerClass
$workerConfig region Worker ***********************************************************

Méthodes publiques

Méthode Description
__construct ( $id, $appId, $workerClass, $bootstrapFile )
parseManagerStatKey ( $key ) : array
run ( ) : boolean

Méthodes protégées

Méthode Description
buildManagerLiveKey ( $id ) : string
buildManagerStatKey ( ) : string
eventTrigger ( $event )
finishManagerLive ( )
getAppId ( ) : mixed
getBootstrapFile ( ) : mixed
getId ( ) : mixed
getLogger ( ) : Psr\Log\LoggerInterface
getProducer ( ) : Producer
getQueue ( ) : Queue
getRedis ( ) : Client
getStartOn ( ) : mixed
getWorkerClass ( ) : mixed
getWorkerConfig ( null $key = null ) : mixed
isLimitsExceeded ( ) : boolean
isProducerShutDown ( ) : boolean
setAppId ( $appId )
setBootstrapFile ( $bootstrapFile )
setId ( $id )
setWorkerClass ( $workerClass )
startManagerLive ( )
waitDelay ( )

Method Details

__construct() public méthode

public __construct ( $id, $appId, $workerClass, $bootstrapFile )
$id
$appId
$workerClass
$bootstrapFile

buildManagerLiveKey() protected méthode

protected buildManagerLiveKey ( $id ) : string
$id
Résultat string

buildManagerStatKey() protected méthode

protected buildManagerStatKey ( ) : string
Résultat string

eventTrigger() protected méthode

protected eventTrigger ( $event )
$event

finishManagerLive() protected méthode

protected finishManagerLive ( )

getAppId() protected méthode

protected getAppId ( ) : mixed
Résultat mixed

getBootstrapFile() protected méthode

protected getBootstrapFile ( ) : mixed
Résultat mixed

getId() protected méthode

protected getId ( ) : mixed
Résultat mixed

getLogger() protected méthode

protected getLogger ( ) : Psr\Log\LoggerInterface
Résultat Psr\Log\LoggerInterface

getProducer() protected méthode

protected getProducer ( ) : Producer
Résultat Producer

getQueue() protected méthode

protected getQueue ( ) : Queue
Résultat Queue

getRedis() protected méthode

protected getRedis ( ) : Client
Résultat Predis\Client

getStartOn() protected méthode

protected getStartOn ( ) : mixed
Résultat mixed

getWorkerClass() protected méthode

protected getWorkerClass ( ) : mixed
Résultat mixed

getWorkerConfig() protected méthode

protected getWorkerConfig ( null $key = null ) : mixed
$key null
Résultat mixed

isLimitsExceeded() protected méthode

protected isLimitsExceeded ( ) : boolean
Résultat boolean

isProducerShutDown() protected méthode

protected isProducerShutDown ( ) : boolean
Résultat boolean

parseManagerStatKey() public static méthode

public static parseManagerStatKey ( $key ) : array
$key
Résultat array

run() public méthode

public run ( ) : boolean
Résultat boolean

setAppId() protected méthode

protected setAppId ( $appId )
$appId

setBootstrapFile() protected méthode

protected setBootstrapFile ( $bootstrapFile )
$bootstrapFile

setId() protected méthode

protected setId ( $id )
$id

setWorkerClass() protected méthode

protected setWorkerClass ( $workerClass )
$workerClass

startManagerLive() protected méthode

protected startManagerLive ( )

waitDelay() protected méthode

protected waitDelay ( )

Property Details

$appId protected_oe property

protected $appId

$bootstrapFile protected_oe property

protected $bootstrapFile

$eventTriggerSet protected_oe property

protected $eventTriggerSet

$id protected_oe property

protected $id

$logger protected_oe static_oe property

protected static LoggerInterface,Psr\Log $logger
Résultat Psr\Log\LoggerInterface

$producer protected_oe static_oe property

protected static Producer,cronario $producer
Résultat Producer

$queue protected_oe static_oe property

protected static Queue,cronario $queue
Résultat Queue

$redis protected_oe static_oe property

protected static Client,Predis $redis
Résultat Predis\Client

$startOn protected_oe property

protected $startOn

$workerClass protected_oe property

protected $workerClass

$workerConfig protected_oe static_oe property

region Worker ***********************************************************
protected static $workerConfig