| @@ 94-102 (lines=9) @@ | ||
| 91 | // } |
|
| 92 | } |
|
| 93 | ||
| 94 | public function getJobCount($workerName = null, $methodName = null) |
|
| 95 | { |
|
| 96 | if ($methodName) { |
|
| 97 | throw new \Exception('Unsupported'); |
|
| 98 | } |
|
| 99 | ||
| 100 | if ($workerName) { |
|
| 101 | throw new \Exception('Unsupported'); |
|
| 102 | } |
|
| 103 | ||
| 104 | // @Todo - use statistics |
|
| 105 | } |
|
| @@ 96-104 (lines=9) @@ | ||
| 93 | $this->channel->close(); |
|
| 94 | } |
|
| 95 | ||
| 96 | public function getJobCount($workerName = null, $methodName = null) |
|
| 97 | { |
|
| 98 | if ($methodName) { |
|
| 99 | throw new \Exception('Unsupported'); |
|
| 100 | } |
|
| 101 | ||
| 102 | if ($workerName) { |
|
| 103 | throw new \Exception('Unsupported'); |
|
| 104 | } |
|
| 105 | } |
|
| 106 | ||
| 107 | public function resetErroneousJobs($workerName = null, $methodName = null) |
|