你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
ActorInformation Class
- java.
lang. Object - Serializable
- microsoft.
servicefabric. actors. ActorInformation
- microsoft.
public class ActorInformation
Represents the information about an actor returned by Actor Query method call.
Constructor Summary
Constructor | Description |
---|---|
ActorInformation(ActorId actorId, boolean isactive) |
Initializes a new instance of the ActorInformation class. |
Method Summary
Modifier and Type | Method and Description |
---|---|
Actor |
getActorId()
Gets ActorId for the ACtor. |
boolean |
isActive()
Gets if the actor is active. |
Constructor Details
ActorInformation
public ActorInformation(ActorId actorId, boolean isactive)
Initializes a new instance of the ActorInformation class.
Parameters:
actorId
- ActorId of actor.
isactive
- Value indicating if the Actor is active or inactive.
Method Details
getActorId
isActive
public boolean isActive()
Gets if the actor is active.
Returns:
java.lang.Boolean indicating if the Actor is active.