Метод |
Описание |
|
__construct ( Spork\EventDispatcher\EventDispatcherInterface $dispatcher = null, Factory $factory = null, $debug = false ) |
|
|
__destruct ( ) |
|
|
addListener ( $eventName, $listener, $priority ) |
|
|
check ( ) |
|
|
createBatchJob ( $data = null, Spork\Batch\Strategy\StrategyInterface $strategy = null ) |
|
|
fork ( $callable ) |
Forks something into another process and returns a deferred object. |
|
getEventDispatcher ( ) |
|
|
killAll ( $signal = SIGINT ) |
Sends a signal to all forks. |
|
monitor ( $signal = SIGUSR1 ) |
|
|
process ( $data, $callable, Spork\Batch\Strategy\StrategyInterface $strategy = null ) |
|
|
setDebug ( $debug ) |
|
|
wait ( $hang = true ) |
|
|
waitFor ( $pid, $hang = true ) |
|
|
waitForNext ( $hang = true ) |
|
|
zombieOkay ( $zombieOkay = true ) |
|
|