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.
Implements
Inherited Members
Namespace: Akka.Persistence.Snapshot
Assembly: Akka.Persistence.dll
Syntax
public sealed class NoSnapshotStore : SnapshotStore, IInternalActor
Methods
| Improve this Doc View SourceDeleteAsync(SnapshotMetadata)
TBD
Declaration
protected override Task DeleteAsync(SnapshotMetadata metadata)
Parameters
Type | Name | Description |
---|---|---|
SnapshotMetadata | metadata | TBD |
Returns
Type | Description |
---|---|
Task | TBD |
Overrides
Exceptions
Type | Condition |
---|---|
NoSnapshotStore.NoSnapshotStoreException | This exception is thrown when no snapshot store is configured. |
DeleteAsync(String, SnapshotSelectionCriteria)
TBD
Declaration
protected override Task DeleteAsync(string persistenceId, SnapshotSelectionCriteria criteria)
Parameters
Type | Name | Description |
---|---|---|
String | persistenceId | TBD |
SnapshotSelectionCriteria | criteria | TBD |
Returns
Type | Description |
---|---|
Task | TBD |
Overrides
Exceptions
Type | Condition |
---|---|
NoSnapshotStore.NoSnapshotStoreException | This exception is thrown when no snapshot store is configured. |
LoadAsync(String, SnapshotSelectionCriteria)
TBD
Declaration
protected override Task<SelectedSnapshot> LoadAsync(string persistenceId, SnapshotSelectionCriteria criteria)
Parameters
Type | Name | Description |
---|---|---|
String | persistenceId | TBD |
SnapshotSelectionCriteria | criteria | TBD |
Returns
Type | Description |
---|---|
Task<SelectedSnapshot> | TBD |
Overrides
| Improve this Doc View SourceSaveAsync(SnapshotMetadata, Object)
TBD
Declaration
protected override Task SaveAsync(SnapshotMetadata metadata, object snapshot)
Parameters
Type | Name | Description |
---|---|---|
SnapshotMetadata | metadata | TBD |
Object | snapshot | TBD |
Returns
Type | Description |
---|---|
Task | TBD |
Overrides
Exceptions
Type | Condition |
---|---|
NoSnapshotStore.NoSnapshotStoreException | This exception is thrown when no snapshot store is configured. |