ActorStateChange Class
- java.
lang. Object - microsoft.
servicefabric. actors. runtime. ActorStateChange
- microsoft.
public class ActorStateChange
Represents change to an actor state with a given state name.
Constructor Summary
Constructor | Description |
---|---|
ActorStateChange(String stateName, Class<?> type, Object value, StateChangeKind changeKind) |
Creates an instance of ActorStateChange class. |
Method Summary
Modifier and Type | Method and Description |
---|---|
State |
changeKind()
Gets the kind of state change for given actor state name. |
Class<?> |
stateClass()
Gets the type of value associated with given actor state name. |
String |
stateName()
Gets name of the actor state. |
Object |
value()
Gets the value associated with given actor state name. |
Constructor Details
ActorStateChange
public ActorStateChange(String stateName, Class type, Object value, StateChangeKind changeKind)
Creates an instance of ActorStateChange class.
Parameters:
Method Details
changeKind
public StateChangeKind changeKind()
Gets the kind of state change for given actor state name.
Returns:
stateClass
public Class stateClass()
Gets the type of value associated with given actor state name.
Returns:
stateName
public String stateName()
Gets name of the actor state.
Returns:
value
public Object value()
Gets the value associated with given actor state name.
Returns:
Applies to
Azure SDK for Java