你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ActorExtensions Class

  • java.lang.Object
    • microsoft.servicefabric.actors.ActorExtensions

public class ActorExtensions

Class containing extension methods for Actors.

Method Summary

Modifier and Type Method and Description
static<T extends Actor> ActorId getActorId(T actor)

Gets ActorId for the actor.

FabricActorReference getActorReference(Actor actor)

Gets ActorReference for the actor.

Method Details

getActorId

public static static ActorId getActorId(T actor)

Gets ActorId for the actor.

Parameters:

actor - Actor object to get ActorId for.

Returns:

ActorId for the actor.

getActorReference

public static FabricActorReference getActorReference(Actor actor)

Gets ActorReference for the actor.

Parameters:

actor - Actor object to get ActorReference for.

Returns:

ActorReference for the actor.

Applies to