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