GearmanWorker::unregisterAll
(PECL gearman >= 0.6.0)
GearmanWorker::unregisterAll — Unregister all function names with the job servers
说明
public
GearmanWorker::unregisterAll (
void ) :
bool
Unregisters all previously registered functions, ensuring that no more jobs are sent to this worker.
参数
此函数没有参数。
返回值
A standard Gearman return value.
参见
- GearmanWorker::register() - Register a function with the job server
- GearmanWorker::unregister() - Unregister a function name with the job servers