Class PersistentFSM.PersistentFSMSnapshot<TD>
FSM state and data snapshot
Implements
Inherited Members
Namespace: Akka.Persistence.Fsm
Assembly: Akka.Persistence.dll
Syntax
public class PersistentFSM.PersistentFSMSnapshot<TD> : IMessage
Type Parameters
| Name | Description |
|---|---|
| TD |
Constructors
| Edit this page View SourcePersistentFSMSnapshot(string, TD, TimeSpan?)
Initializes a new instance of the PersistentFSM.PersistentFSMSnapshot<TD> class.
Declaration
public PersistentFSMSnapshot(string stateIdentifier, TD data, TimeSpan? timeout)
Parameters
| Type | Name | Description |
|---|---|---|
| string | stateIdentifier | FSM state identifier. |
| TD | data | FSM state data |
| TimeSpan? | timeout | FSM state timeout. |
Properties
| Edit this page View SourceData
FSM state data.
Declaration
public TD Data { get; }
Property Value
| Type | Description |
|---|---|
| TD |
StateIdentifier
FSM state identifier.
Declaration
public string StateIdentifier { get; }
Property Value
| Type | Description |
|---|---|
| string |
Timeout
FSM state timeout.
Declaration
public TimeSpan? Timeout { get; }
Property Value
| Type | Description |
|---|---|
| TimeSpan? |
Methods
| Edit this page View SourceEquals(PersistentFSMSnapshot<TD>)
Declaration
protected bool Equals(PersistentFSM.PersistentFSMSnapshot<TD> other)
Parameters
| Type | Name | Description |
|---|---|---|
| PersistentFSM.PersistentFSMSnapshot<TD> | other |
Returns
| Type | Description |
|---|---|
| bool |
Equals(object)
Determines whether the specified object is equal to the current object.
Declaration
public override bool Equals(object obj)
Parameters
| Type | Name | Description |
|---|---|---|
| object | obj | The object to compare with the current object. |
Returns
| Type | Description |
|---|---|
| bool | true if the specified object is equal to the current object; otherwise, false. |
Overrides
| Edit this page View SourceGetHashCode()
Serves as the default hash function.
Declaration
public override int GetHashCode()
Returns
| Type | Description |
|---|---|
| int | A hash code for the current object. |
Edit this page