Show / Hide Table of Contents

    Interface IPersistenceSupervisionConfig

    Configuration used by PersistenceSupervisor.

    Namespace:Akka.Persistence.Extras
    Assembly:Akka.Persistence.Extras.dll
    Syntax
    public interface IPersistenceSupervisionConfig

    Properties

    FinalStopMessage

    Optional. Can be null. Used to indicate if the message is the final message that the underlying child actor will process before being shutdown.

    Declaration
    Func<object, bool> FinalStopMessage { get; }
    Property Value
    Type Description
    Func<System.Object, System.Boolean>

    IsEvent

    Tests to see if an incoming message is an event. Returns true if a message is an event that will be persisted by the child actor. false otherwise.

    Declaration
    Func<object, bool> IsEvent { get; }
    Property Value
    Type Description
    Func<System.Object, System.Boolean>

    MakeEventConfirmable

    Packages the original message and a correlation id (a long integer) into a message of type IConfirmableMessage. We expect the underlying to send back a Confirmation with this information so we can mark the message as successfully processed.

    Declaration
    Func<object, long, IConfirmableMessage> MakeEventConfirmable { get; }
    Property Value
    Type Description
    Func<System.Object, System.Int64, IConfirmableMessage>

    MaxBackoff

    Declaration
    TimeSpan MaxBackoff { get; }
    Property Value
    Type Description
    TimeSpan

    MinBackoff

    Declaration
    TimeSpan MinBackoff { get; }
    Property Value
    Type Description
    TimeSpan

    RandomFactor

    Declaration
    double RandomFactor { get; }
    Property Value
    Type Description
    System.Double

    Reset

    The strategy to use to reset the PersistenceSupervisor's reset clock.

    Declaration
    IBackoffReset Reset { get; }
    Property Value
    Type Description
    IBackoffReset
    Back to top Copyright © 2015-2018 Petabridge®