C# Класс Akka.Persistence.TestKit.Snapshot.SnapshotStoreSpec

This spec aims to verify custom SnapshotStore implementations. Every custom authors snapshot store spec should have it's spec suite included.
Наследование: PluginSpec
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
Config Akka.Configuration.Config
Metadata List

Защищенные методы

Метод Описание
Initialize ( ) : IEnumerable

Initializes a snapshot store with set of predefined snapshots.

SnapshotStoreSpec ( Config config = null, string actorSystemName = null, ITestOutputHelper output = null ) : System
SnapshotStoreSpec ( Type snapshotStoreType, string actorSystemName = null ) : System

Приватные методы

Метод Описание
ConfigFromTemplate ( Type snapshotStoreType ) : Config
SnapshotStore_should_delete_a_single_snapshot_identified_by_SequenceNr_in_snapshot_metadata ( ) : void
SnapshotStore_should_delete_all_snapshots_matching_upper_sequence_number_and_timestamp_bounds ( ) : void
SnapshotStore_should_load_the_most_recent_snapshot ( ) : void
SnapshotStore_should_load_the_most_recent_snapshot_matching_an_upper_sequence_number_and_timestamp_bound ( ) : void
SnapshotStore_should_load_the_most_recent_snapshot_matching_an_upper_sequence_number_bound ( ) : void
SnapshotStore_should_not_delete_snapshots_with_non_matching_upper_timestamp_bounds ( ) : void
SnapshotStore_should_not_load_a_snapshot_given_an_invalid_persistence_id ( ) : void
SnapshotStore_should_not_load_a_snapshot_given_non_matching_sequence_number_criteria ( ) : void
SnapshotStore_should_not_load_a_snapshot_given_non_matching_timestamp_criteria ( ) : void
SnapshotStore_should_save_and_overwrite_snapshot_with_same_sequence_number ( ) : void
WriteSnapshots ( ) : IEnumerable

Описание методов

Initialize() защищенный Метод

Initializes a snapshot store with set of predefined snapshots.
protected Initialize ( ) : IEnumerable
Результат IEnumerable

SnapshotStoreSpec() защищенный Метод

protected SnapshotStoreSpec ( Config config = null, string actorSystemName = null, ITestOutputHelper output = null ) : System
config Akka.Configuration.Config
actorSystemName string
output ITestOutputHelper
Результат System

SnapshotStoreSpec() защищенный Метод

protected SnapshotStoreSpec ( Type snapshotStoreType, string actorSystemName = null ) : System
snapshotStoreType System.Type
actorSystemName string
Результат System

Описание свойств

Config защищенное статическое свойство

protected static Config,Akka.Configuration Config
Результат Akka.Configuration.Config

Metadata защищенное свойство

protected List Metadata
Результат List