Search Results for

    Show / Hide Table of Contents

    Class ReplayFilterSettings

    Settings used for managing filter rules during event replay.

    Inheritance
    Object
    ReplayFilterSettings
    Inherited Members
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Object.ReferenceEquals(Object, Object)
    Object.ToString()
    Namespace: Akka.Persistence.Sql.Common.Journal
    Assembly: Akka.Persistence.Sqlite.dll
    Syntax
    public sealed class ReplayFilterSettings

    Constructors

    | Improve this Doc View Source

    ReplayFilterSettings(Config)

    Initializes a new instance of the ReplayFilterSettings class.

    Declaration
    public ReplayFilterSettings(Config config)
    Parameters
    Type Name Description
    Config config

    The configuration used to configure the replay filter.

    Exceptions
    Type Condition
    ConfigurationException

    This exception is thrown when an invalid replay-filter.mode is read from the specified config. Acceptable replay-filter.mode values include: off | repair-by-discard-old | fail | warn

    ArgumentNullException

    This exception is thrown when the specified config is undefined.

    | Improve this Doc View Source

    ReplayFilterSettings(ReplayFilterMode, Int32, Int32, Boolean)

    Initializes a new instance of the ReplayFilterSettings class.

    Declaration
    public ReplayFilterSettings(ReplayFilterMode mode, int windowSize, int maxOldWriters, bool isDebug)
    Parameters
    Type Name Description
    ReplayFilterMode mode

    The mode used when detecting invalid events.

    Int32 windowSize

    The size of the replay filter's buffer.

    Int32 maxOldWriters

    The maximum number of writerUuid to remember.

    Boolean isDebug

    If set to true, debug logging is enabled for each replayed event.

    Fields

    | Improve this Doc View Source

    IsDebug

    Determine if the debug logging is enabled for each replayed event.

    Declaration
    public readonly bool IsDebug
    Field Value
    Type Description
    Boolean
    | Improve this Doc View Source

    MaxOldWriters

    Maximum number of writerUuid to remember.

    Declaration
    public readonly int MaxOldWriters
    Field Value
    Type Description
    Int32
    | Improve this Doc View Source

    Mode

    Mode used when detecting invalid events.

    Declaration
    public readonly ReplayFilterMode Mode
    Field Value
    Type Description
    ReplayFilterMode
    | Improve this Doc View Source

    WindowSize

    Size (in number of events) of the look ahead buffer used for analyzing the events.

    Declaration
    public readonly int WindowSize
    Field Value
    Type Description
    Int32

    Properties

    | Improve this Doc View Source

    IsEnabled

    Determine if the replay filter feature is enabled

    Declaration
    public bool IsEnabled { get; }
    Property Value
    Type Description
    Boolean

    Extension Methods

    ObjectExtensions.IsDefaultForType<T>(T)
    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