ray.util.state.common.ActorSummaryPerClass
ray.util.state.common.ActorSummaryPerClass#
- class ray.util.state.common.ActorSummaryPerClass(class_name: str, state_counts: Dict[Literal['DEPENDENCIES_UNREADY', 'PENDING_CREATION', 'ALIVE', 'RESTARTING', 'DEAD'], int] = <factory>)[source]#
Bases:
object- class_name: str#
The class name of the actor.
- state_counts: Dict[Literal['DEPENDENCIES_UNREADY', 'PENDING_CREATION', 'ALIVE', 'RESTARTING', 'DEAD'], int]#
State name to the count dict. State name is equivalent to the protobuf ActorState.