Method | Description | |
---|---|---|
createProcess ( string $alias, string $name, integer $flags = Runtime::CREATE_DEFAULT, mixed[] $params = [] ) : Kraken\Promise\PromiseInterface | Create a new process container. | |
createProcesses ( string[][] $definitions, integer $flags = Runtime::CREATE_DEFAULT, mixed[] $params = [] ) : Kraken\Promise\PromiseInterface | Create multiple process containers at once. | |
destroyProcess ( string $alias, integer $flags = Runtime::DESTROY_FORCE_SOFT, mixed[] $params = [] ) : Kraken\Promise\PromiseInterface | Destroy existing container. | |
destroyProcesses ( string[] $aliases, integer $flags = Runtime::DESTROY_FORCE_SOFT, mixed[] $params = [] ) : Kraken\Promise\PromiseInterface | Destroy multiple process containers at once. | |
existsProcess ( string $alias ) : boolean | Check if process container exists. | |
flushProcesses ( integer $flags = Runtime::DESTROY_KEEP ) : Kraken\Promise\PromiseInterface | Flush processes without destroying them. | |
getProcesses ( ) : Kraken\Promise\PromiseInterface | Get list of existing process containers. | |
startProcess ( string $alias, mixed[] $params = [] ) : Kraken\Promise\PromiseInterface | Start existing process container. | |
startProcesses ( $aliases, mixed[] $params = [] ) : Kraken\Promise\PromiseInterface | Start multiple process containers at once. | |
stopProcess ( string $alias, mixed[] $params = [] ) : Kraken\Promise\PromiseInterface | Stop existing process container. | |
stopProcesses ( $aliases, mixed[] $params = [] ) : Kraken\Promise\PromiseInterface | Stop multiple process containers at once. |
public createProcesses ( string[][] $definitions, integer $flags = Runtime::CREATE_DEFAULT, mixed[] $params = [] ) : Kraken\Promise\PromiseInterface | ||
$definitions | string[][] | |
$flags | integer | |
$params | mixed[] | |
return | Kraken\Promise\PromiseInterface |
public destroyProcess ( string $alias, integer $flags = Runtime::DESTROY_FORCE_SOFT, mixed[] $params = [] ) : Kraken\Promise\PromiseInterface | ||
$alias | string | |
$flags | integer | |
$params | mixed[] | |
return | Kraken\Promise\PromiseInterface |
public destroyProcesses ( string[] $aliases, integer $flags = Runtime::DESTROY_FORCE_SOFT, mixed[] $params = [] ) : Kraken\Promise\PromiseInterface | ||
$aliases | string[] | |
$flags | integer | |
$params | mixed[] | |
return | Kraken\Promise\PromiseInterface |
public existsProcess ( string $alias ) : boolean | ||
$alias | string | |
return | boolean |
public flushProcesses ( integer $flags = Runtime::DESTROY_KEEP ) : Kraken\Promise\PromiseInterface | ||
$flags | integer | |
return | Kraken\Promise\PromiseInterface |
public getProcesses ( ) : Kraken\Promise\PromiseInterface | ||
return | Kraken\Promise\PromiseInterface |
public startProcess ( string $alias, mixed[] $params = [] ) : Kraken\Promise\PromiseInterface | ||
$alias | string | |
$params | mixed[] | |
return | Kraken\Promise\PromiseInterface |
public startProcesses ( $aliases, mixed[] $params = [] ) : Kraken\Promise\PromiseInterface | ||
$aliases | ||
$params | mixed[] | |
return | Kraken\Promise\PromiseInterface |
public stopProcess ( string $alias, mixed[] $params = [] ) : Kraken\Promise\PromiseInterface | ||
$alias | string | |
$params | mixed[] | |
return | Kraken\Promise\PromiseInterface |
public stopProcesses ( $aliases, mixed[] $params = [] ) : Kraken\Promise\PromiseInterface | ||
$aliases | ||
$params | mixed[] | |
return | Kraken\Promise\PromiseInterface |