IceMX.ThreadMetrics

class IceMX.ThreadMetrics(id: str = '', total: int = 0, current: int = 0, totalLifetime: int = 0, failures: int = 0, inUseForIO: int = 0, inUseForUser: int = 0, inUseForOther: int = 0)

Bases: Metrics

Provides information on the number of threads currently in use and their activity.

Parameters:
  • id (str)

  • total (int)

  • current (int)

  • totalLifetime (int)

  • failures (int)

  • inUseForIO (int)

  • inUseForUser (int)

  • inUseForOther (int)

inUseForIO

The number of threads which are currently performing socket reads or writes.

Type:

int

inUseForUser

The number of threads which are currently calling user code (servant dispatch, AMI callbacks, etc).

Type:

int

inUseForOther

The number of threads which are currently performing other activities such as DNS lookups, garbage collection, etc. These are all the other threads created by the Ice runtime that are not counted in IceMX.ThreadMetrics.inUseForUser or IceMX.ThreadMetrics.inUseForIO.

Type:

int

Notes

The Slice compiler generated this dataclass from Slice class ::IceMX::ThreadMetrics.

static ice_staticId() str

Obtain the type ID of this Slice class or interface.

Returns:

The type ID.

Return type:

str