ActorMethodContext Class

  • java.lang.Object
    • microsoft.servicefabric.actors.runtime.ActorMethodContext

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
ActorCallType 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:

An ActorCallType representing the call type.

getMethodName

public String getMethodName()

Name of the method invoked by actor runtime.

Returns:

A string representing the name of method.

Applies to