Show / Hide Table of Contents

    Class PersistenceSupervisionConfig

    Inheritance
    System.Object
    PersistenceSupervisionConfig
    Namespace:Akka.Persistence.Extras
    Assembly:Akka.Persistence.Extras.dll
    Syntax
    public sealed class PersistenceSupervisionConfig : object, IPersistenceSupervisionConfig

    Constructors

    PersistenceSupervisionConfig(Func<Object, Boolean>, Func<Object, Int64, IConfirmableMessage>, IBackoffReset, Nullable<TimeSpan>, Nullable<TimeSpan>, Nullable<Double>, Func<Object, Boolean>)

    Declaration
    public PersistenceSupervisionConfig(Func<object, bool> isEvent = null, Func<object, long, IConfirmableMessage> makeEventConfirmable = null, IBackoffReset resetBackoff = null, TimeSpan? minBackoff = null, TimeSpan? maxBackoff = null, double? randomFactor = null, Func<object, bool> finalStopMessage = null)
    Parameters
    Type Name Description
    Func<System.Object, System.Boolean> isEvent
    Func<System.Object, System.Int64, IConfirmableMessage> makeEventConfirmable
    IBackoffReset resetBackoff
    System.Nullable<TimeSpan> minBackoff
    System.Nullable<TimeSpan> maxBackoff
    System.Nullable<System.Double> randomFactor
    Func<System.Object, System.Boolean> finalStopMessage

    Fields

    DefaultIsEvent

    Default IsEvent implementation - checks to see if event is IConfirmableMessage.

    Declaration
    public static readonly Func<object, bool> DefaultIsEvent
    Field Value
    Type Description
    Func<System.Object, System.Boolean>

    DefaultMaxBackoff

    Declaration
    public static readonly TimeSpan DefaultMaxBackoff
    Field Value
    Type Description
    TimeSpan

    DefaultMinBackoff

    Declaration
    public static readonly TimeSpan DefaultMinBackoff
    Field Value
    Type Description
    TimeSpan

    DefaultRandomFactor

    Declaration
    public const double DefaultRandomFactor = null
    Field Value
    Type Description
    System.Double

    Properties

    FinalStopMessage

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

    IsEvent

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

    MakeEventConfirmable

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

    MaxBackoff

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

    MinBackoff

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

    RandomFactor

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

    Reset

    Declaration
    public IBackoffReset Reset { get; }
    Property Value
    Type Description
    IBackoffReset

    Methods

    DefaultMakeEventConfirmable(String)

    Declaration
    public static Func<object, long, IConfirmableMessage> DefaultMakeEventConfirmable(string persistentId)
    Parameters
    Type Name Description
    System.String persistentId
    Returns
    Type Description
    Func<System.Object, System.Int64, IConfirmableMessage>
    Back to top Copyright © 2015-2018 Petabridge®