Class NoSnapshotStore
Used as a default snapshot-store in case no other store was configured.
If a PersistentActor calls the SaveSnapshot(object) method,
and at the same time does not configure a specific snapshot-store to be used and no default snapshot-store
is available, then the NoSnapshotStore will be used to signal a snapshot store failure.
Inheritance
NoSnapshotStore
Assembly: Akka.Persistence.dll
Syntax
public sealed class NoSnapshotStore : SnapshotStore, IInternalActor
Methods
|
Edit this page
View Source
Declaration
protected override Task DeleteAsync(SnapshotMetadata metadata, CancellationToken cancellationToken)
Parameters
Returns
Overrides
Exceptions
|
Edit this page
View Source
DeleteAsync(string, SnapshotSelectionCriteria, CancellationToken)
Declaration
protected override Task DeleteAsync(string persistenceId, SnapshotSelectionCriteria criteria, CancellationToken cancellationToken)
Parameters
Returns
Overrides
Exceptions
|
Edit this page
View Source
LoadAsync(string, SnapshotSelectionCriteria, CancellationToken)
Plugin API: Asynchronously loads a snapshot.
This call is protected with a circuit-breaker
Declaration
protected override Task<SelectedSnapshot> LoadAsync(string persistenceId, SnapshotSelectionCriteria criteria, CancellationToken cancellationToken)
Parameters
Returns
Overrides
|
Edit this page
View Source
Declaration
protected override Task SaveAsync(SnapshotMetadata metadata, object snapshot, CancellationToken cancellationToken)
Parameters
Returns
Overrides
Exceptions
Implements
Extension Methods