# \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

File
  Process/Config.php
Package
  MSF\Process
Class hierarchy
  \PG\MSF\Process\ProcessBase
  \PG\MSF\Process\Config

## Tags

None found

## Constants

### FAILURE_LIMIT

    FAILURE_LIMIT

Redis探测失败次数上限

#

## Tags

None found

## Properties

### $config

    $config : \Noodlehaus\Config

#### Type

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

#

Inherited from
  \PG\MSF\Process\ProcessBase

## Tags

None found

### $MSFServer

    $MSFServer : \PG\MSF\MSFServer

#### Type

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

#

Inherited from
  \PG\MSF\Process\ProcessBase

## Tags

None found

### $lastMinute

    $lastMinute : float

#### Type

float — 上一分钟

#

## Tags

None found

### $redisRetryTimes

    $redisRetryTimes : array

#### Type

array — Redis探测retry次数

#

## Tags

None found

## Methods

### __construct()

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

Config constructor.

#### Parameters

\Noodlehaus\Config | $config | 配置对象
\PG\MSF\MSFServer | $MSFServer | Server运行实例

#

## Tags

None found

### stats()

    stats()

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

#

## Tags

None found

### checkRedisProxy()

    checkRedisProxy() : boolean

检测Redis Proxy状态

#### Returns

boolean

#

## Tags

None found

### Config.php