프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$builders | array | Producer builders scope | |
$producers | array | Producer instances |
메소드 | 설명 | |
---|---|---|
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 | ||
리턴 | boolean |
public static addProducer ( |
||
$producer | ||
리턴 | boolean |
public static cleanProducers ( ) : boolean | ||
리턴 | boolean |
public static getJobsReserved ( ) : array | ||
리턴 | array |
public static getManagersStats ( ) : array | ||
리턴 | array |
public static getProducer ( string $appId = Producer::DEFAULT_APP_ID ) : |
||
$appId | string | |
리턴 |
public static getProducersStats ( ) : array | ||
리턴 | array |
public static getStorage ( $appId ) : Cronario\Storage\StorageInterface | ||
$appId | ||
리턴 | Cronario\Storage\StorageInterface |