ActorTypeExtensions Class
- java.
lang. Object - microsoft.
servicefabric. actors. runtime. ActorTypeExtensions
- microsoft.
public class ActorTypeExtensions
Contains extension method for Actor types.
Method Summary
Modifier and Type | Method and Description |
---|---|
Class<?> [] |
getActorEventInterfaces(Class<?> cls)
Gets the actor event interfaces implemented by the actor class. |
Class<?> [] |
getActorInterfaces(Class<?> cls)
Gets the actor interfaces implemented by the actor class. |
boolean |
isActor(Class<?> actorClass)
Indicates a value whether the actorType is an actor. |
boolean |
isActorInterface(Class<?> actorInterfaceClass)
Indicates whether the interface type is an actor interface. |
boolean |
isRemindableActor(Class<?> actorClass)
Indicates a value whether an actor type implements Remindable interface. |
Method Details
getActorEventInterfaces
public static Class> [] getActorEventInterfaces(Class> cls)
Gets the actor event interfaces implemented by the actor class.
Parameters:
Returns:
getActorInterfaces
public static Class> [] getActorInterfaces(Class> cls)
Gets the actor interfaces implemented by the actor class.
Parameters:
Returns:
isActor
public static boolean isActor(Class> actorClass)
Indicates a value whether the actorType is an actor.
Parameters:
Returns:
isActorInterface
public static boolean isActorInterface(Class> actorInterfaceClass)
Indicates whether the interface type is an actor interface.
Parameters:
Returns:
isRemindableActor
public static boolean isRemindableActor(Class> actorClass)
Indicates a value whether an actor type implements Remindable interface.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for