Go to the latest version of this document.

# ``twisted`.`_threads`.`_team`.`Statistics``

class documentation

`class Statistics: (source)`

Constructor: `Statistics(idleWorkerCount, busyWorkerCount, backloggedWorkCount)`

View In Hierarchy

Statistics about a `Team`'s current activity.

Method | `__init__` | Undocumented
Instance Variable | `backloggedWorkCount` | The number of work items passed to `Team.do` which have not yet been sent to a worker to be performed because not enough workers are available.
Instance Variable | `busyWorkerCount` | The number of busy workers.
Instance Variable | `idleWorkerCount` | The number of idle workers.

def __init__(self, idleWorkerCount: `int`, busyWorkerCount: `int`, backloggedWorkCount: `int`): (source)

Undocumented

backloggedWorkCount: `int` = (source)

The number of work items passed to `Team.do` which have not yet been sent to a worker to be performed because not enough workers are available.

busyWorkerCount: `int` = (source)

The number of busy workers.

idleWorkerCount: `int` = (source)

The number of idle workers.