GearmanClient::timeout

(PECL gearman >= 0.6.0)

GearmanClient::timeoutGet current socket I/O activity timeout value

說(shuō)明

public GearmanClient::timeout(): int

Returns the timeout in milliseconds to wait for I/O activity.

參數(shù)

此函數(shù)沒(méi)有參數(shù)。

返回值

Timeout in milliseconds to wait for I/O activity. A negative value means an infinite timeout.

參見(jiàn)