ActorTypeInformation 类

定义

Contains information about the type implementing an actor.

public class ActorTypeInformation
继承
java.lang.Object
ActorTypeInformation

构造函数

ActorTypeInformation()

Initializes a new instance of the ActorTypeInformation class.

方法

get(Class<?> actorClass)

Creates ActorTypeInformation from actorType.

When base type for actorType is not of type ActorBase.

When actorType does not implement an interface deriving from Actor and is not marked as abstract.

When actorType implements more than one interface which derives from Actor but doesn't have ActorServiceAttribute.

getEventInterfaceTypes()

Gets actor event interface which the actor class implements.

getImplementationType()

Gets type of the class implementing the actor.

getInterfaceTypes()

Gets the actor interface types which derive from Actor and implemented by actor class.

getServiceName()

Gets service name if specified using ActorServiceAttribute for actor class.

getStatePersistence()

Gets the StatePersistence enum representing type of state persistence for the actor.

isAbstract()

Gets if class implementing actor is abstract.

isRemindable()

Gets a value whether the actor class implements Remindable

适用于