ray.util.state.common.ActorSummaryPerClass#

class ray.util.state.common.ActorSummaryPerClass(class_name: str, state_counts: ~typing.Dict[~typing.Literal['DEPENDENCIES_UNREADY', 'PENDING_CREATION', 'ALIVE', 'RESTARTING', 'DEAD'], int] = <factory>)[源代码]#

基类:object

class_name: str#

演员的类名。

state_counts: Dict[Literal['DEPENDENCIES_UNREADY', 'PENDING_CREATION', 'ALIVE', 'RESTARTING', 'DEAD'], int]#

将状态名称添加到计数字典中。状态名称等同于protobuf的ActorState。