ActorMethodContext Class
- java.
lang. Object - microsoft.
servicefabric. actors. runtime. ActorMethodContext
- microsoft.
public class ActorMethodContext
An ActorMethodContext contains information about the method that is invoked by actor runtime and is passed as an argument to onPreActorMethodAsync(ActorMethodContext actorMethodContext) and onPostActorMethodAsync(ActorMethodContext actorMethodContext).
Method Summary
Modifier and Type | Method and Description |
---|---|
Actor |
getCallType()
Type of call by actor runtime (e.g. actor interface method, timer callback etc.). |
String |
getMethodName()
Name of the method invoked by actor runtime. |
Method Details
getCallType
public ActorCallType getCallType()
Type of call by actor runtime (e.g. actor interface method, timer callback etc.).
Returns:
getMethodName
public String getMethodName()
Name of the method invoked by actor runtime.
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