\PG\MSF\ProcessConfig

Class Config

Summary

Methods
Properties
Constants
__construct()
stats()
checkRedisProxy()
$config
$MSFServer
$lastMinute
FAILURE_LIMIT
No protected methods found
$redisRetryTimes
N/A
No private methods found
No private properties found
N/A

Constants

FAILURE_LIMIT

FAILURE_LIMIT

Redis探测失败次数上限

Properties

$config

$config : \Noodlehaus\Config

Type

\Noodlehaus\Config — Server运行实例配置对象

$MSFServer

$MSFServer : \PG\MSF\MSFServer

Type

\PG\MSF\MSFServer — 运行的Server实例

$lastMinute

$lastMinute : float

Type

float — 上一分钟

$redisRetryTimes

$redisRetryTimes : array

Type

array — Redis探测retry次数

Methods

__construct()

__construct(\Noodlehaus\Config  $config, \PG\MSF\MSFServer  $MSFServer) 

Config constructor.

Parameters

\Noodlehaus\Config $config

配置对象

\PG\MSF\MSFServer $MSFServer

Server运行实例

stats()

stats() 

汇总各个Worker的运行状态信息

checkRedisProxy()

checkRedisProxy() : boolean

检测Redis Proxy状态

Returns

boolean