Property | Type | Description | |
---|---|---|---|
$builders | array | Producer builders scope | |
$producers | array | Producer instances |
Method | Description | |
---|---|---|
addBuilder ( $appId, $builderFunction ) : boolean | Add Builder to facade builder scope | |
addProducer ( |
Add producer to facade | |
cleanProducers ( ) : boolean | Clean producer scope | |
getJobsReserved ( ) : array | Get all reserved jobs | |
getManagersStats ( ) : array | Get all managers statistic | |
getProducer ( string $appId = Producer::DEFAULT_APP_ID ) : |
Get producer by id | |
getProducersStats ( ) : array | Get producer statistic | |
getQueuesStats ( ) : array | Get queues statistic | |
getStorage ( $appId ) : Cronario\Storage\StorageInterface | Get storage by application id |
public static addBuilder ( $appId, $builderFunction ) : boolean | ||
$appId | ||
$builderFunction | ||
return | boolean |
public static addProducer ( |
||
$producer | ||
return | boolean |
public static cleanProducers ( ) : boolean | ||
return | boolean |
public static getJobsReserved ( ) : array | ||
return | array |
public static getManagersStats ( ) : array | ||
return | array |
public static getProducer ( string $appId = Producer::DEFAULT_APP_ID ) : |
||
$appId | string | |
return |
public static getProducersStats ( ) : array | ||
return | array |
public static getQueuesStats ( ) : array | ||
return | array |
public static getStorage ( $appId ) : Cronario\Storage\StorageInterface | ||
$appId | ||
return | Cronario\Storage\StorageInterface |
protected static array $builders | ||
return | array |
protected static array $producers | ||
return | array |