空参
获取任务队列的长度,即任务总数。
//直接调用 Task::getInstance()->getTaskNumber(); //通过phpcreeper实例调用 $this->worker->getTaskMan()->getTaskNumber();