编程学问
  • 文章
  • 问题
  • 读书
  • 关于
  • 登录
  • « GearmanClient::setStatusCallback
  • GearmanClient::setWarningCallback »
  • PHP Manual
  • GearmanClient
  • Set socket I/O activity timeout

GearmanClient::setTimeout

(PECL gearman >= 0.6.0)

GearmanClient::setTimeout — Set socket I/O activity timeout

说明

public GearmanClient::setTimeout ( int $timeout ) : bool

Sets the timeout for socket I/O activity.

参数

timeout

An interval of time in milliseconds

返回值

Always returns TRUE.

相关文章
php eventbufferevent set the read and write timeout for a buffer eventphp cubrid 函数 set the timeout time of query executionphp imap 函数 set or fetch imap timeoutphp msession 函数 set/get session timeoutphp 网络 函数 别名 stream set timeoutphp socket 函数 别名 socket set optionphp stream 函数 set timeout period on a streamphp gearmanclient set a callback for worker exceptionsphp gearmanclient set callback for job failurephp gearmanclient set client optionsphp gearmanclient set a callback for collecting task statusphp gearmanclient set socket i/o activity timeoutphp gearmanclient set a callback for worker warningsphp gearmanclient set a callback for accepting incremental data updatesphp gearmanclient get current socket i/o activity timeout valuephp gearmanworker set socket i/o activity timeoutphp gearmanworker get socket i/o activity timeoutphp varnishadmin set the class timeout configuration paramphp zmqcontext set a socket optionphp zmqsocket set a socket option
关注编程学问公众号
编程学问网 湘ICP备20001732号