Php/docs/gearmanworker.timeout

提供:Dev Guides
< Php
移動先:案内検索

GearmanWorker::timeout

(PECL gearman >= 0.6.0)

GearmanWorker::timeoutGet socket I/O activity timeout


説明

public GearmanWorker::timeout ( ) : int

Returns the current time to wait, in milliseconds, for socket I/O activity.


パラメータ

この関数にはパラメータはありません。


返り値

A time period is milliseconds. A negative value indicates an infinite timeout.


参考