$__useCount
$__useCount : integer
Class TaskProxy
getPack() : \PG\MSF\Pack\IPack
获取运行server实例打包对象
getRedisPool(string $poolName) : boolean|\PG\AOP\Wrapper|\PG\MSF\Pools\CoroutineRedisProxy|\Redis
获取Redis连接池
string | $poolName | 配置的Redis连接池名称 |
getRedisProxy(string $proxyName) : boolean|\PG\AOP\Wrapper|\PG\MSF\Pools\CoroutineRedisProxy|\Redis
获取Redis代理
string | $proxyName | 配置的Redis代理名称 |
setContext(\PG\MSF\Helpers\Context $context) : $this
设置上下文
\PG\MSF\Helpers\Context | $context | 请求上下文对象 |
__call(string $name, array $arguments) : \PG\MSF\Coroutine\CTask
__call魔术方法
string | $name | 任务方法名 |
array | $arguments | 执行参数 |