Search Results for

    Show / Hide Table of Contents

    Class SnapshotOffer

    Offers a PersistentActor a previously saved snapshot during recovery. This offer is received before any further replayed messages.

    Inheritance
    Object
    SnapshotOffer
    Implements
    IEquatable<SnapshotOffer>
    Inherited Members
    Object.Equals(Object, Object)
    Object.GetType()
    Object.MemberwiseClone()
    Object.ReferenceEquals(Object, Object)
    Namespace: Akka.Persistence
    Assembly: Akka.Persistence.dll
    Syntax
    [Serializable]
    public sealed class SnapshotOffer : IEquatable<SnapshotOffer>

    Constructors

    | Improve this Doc View Source

    SnapshotOffer(SnapshotMetadata, Object)

    Initializes a new instance of the SnapshotOffer class.

    Declaration
    public SnapshotOffer(SnapshotMetadata metadata, object snapshot)
    Parameters
    Type Name Description
    SnapshotMetadata metadata

    Snapshot metadata.

    Object snapshot

    Snapshot.

    Properties

    | Improve this Doc View Source

    Metadata

    Snapshot metadata.

    Declaration
    public SnapshotMetadata Metadata { get; }
    Property Value
    Type Description
    SnapshotMetadata
    | Improve this Doc View Source

    Snapshot

    Snapshot.

    Declaration
    public object Snapshot { get; }
    Property Value
    Type Description
    Object

    Methods

    | Improve this Doc View Source

    Equals(SnapshotOffer)

    Declaration
    public bool Equals(SnapshotOffer other)
    Parameters
    Type Name Description
    SnapshotOffer other
    Returns
    Type Description
    Boolean
    | Improve this Doc View Source

    Equals(Object)

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    Object obj
    Returns
    Type Description
    Boolean
    Overrides
    Object.Equals(Object)
    | Improve this Doc View Source

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    Int32
    Overrides
    Object.GetHashCode()
    | Improve this Doc View Source

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    String
    Overrides
    Object.ToString()

    Implements

    IEquatable<T>

    Extension Methods

    ObjectExtensions.IsDefaultForType<T>(T)
    PatternMatch.Match(Object)
    PatternMatch.Match<T>(Object)
    ObjectExtensions.AsOption<T>(T)
    Extensions.AsInstanceOf<T>(Object)
    In This Article
    • githubImprove this Doc
    • View Source
    Back to top
    Contribute
    • Project Chat
    • Discussion Forum
    • Source Code
    Support
    • Akka.NET Support Plans
    • Akka.NET Observability Tools
    • Akka.NET Training & Consulting
    Maintained By
    • Petabridge - The Akka.NET Company
    • Learn Akka.NET