Class ReplayFilterSettings
Settings used for managing filter rules during event replay.
Inherited Members
Namespace: Akka.Persistence.Sql.Common.Journal
Assembly: Akka.Persistence.Sqlite.dll
Syntax
public sealed class ReplayFilterSettings
Constructors
| Improve this Doc View SourceReplayFilterSettings(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 |
| ArgumentNullException | This exception is thrown when the specified |
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 |
Fields
| Improve this Doc View SourceIsDebug
Determine if the debug logging is enabled for each replayed event.
Declaration
public readonly bool IsDebug
Field Value
| Type | Description |
|---|---|
| Boolean |
MaxOldWriters
Maximum number of writerUuid to remember.
Declaration
public readonly int MaxOldWriters
Field Value
| Type | Description |
|---|---|
| Int32 |
Mode
Mode used when detecting invalid events.
Declaration
public readonly ReplayFilterMode Mode
Field Value
| Type | Description |
|---|---|
| ReplayFilterMode |
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 SourceIsEnabled
Determine if the replay filter feature is enabled
Declaration
public bool IsEnabled { get; }
Property Value
| Type | Description |
|---|---|
| Boolean |
Improve this Doc