Class TestSnapshotStore
In-memory persistence snapshot store implementation which behavior could be controlled by interceptors.
Inheritance
TestSnapshotStore
Assembly: Akka.Persistence.TestKit.dll
Syntax
public class TestSnapshotStore : MemorySnapshotStore, IInternalActor
Methods
|
Improve this Doc
View Source
Declaration
protected override async Task DeleteAsync(SnapshotMetadata metadata)
Parameters
Returns
Overrides
|
Improve this Doc
View Source
DeleteAsync(String, SnapshotSelectionCriteria)
Declaration
protected override async Task DeleteAsync(string persistenceId, SnapshotSelectionCriteria criteria)
Parameters
Returns
Overrides
|
Improve this Doc
View Source
FromRef(IActorRef)
Create proxy object from snapshot store actor reference which can alter behavior of snapshot store.
Declaration
public static ITestSnapshotStore FromRef(IActorRef actor)
Parameters
Type |
Name |
Description |
IActorRef |
actor |
Journal actor reference.
|
Returns
|
Improve this Doc
View Source
LoadAsync(String, SnapshotSelectionCriteria)
Declaration
protected override async Task<SelectedSnapshot> LoadAsync(string persistenceId, SnapshotSelectionCriteria criteria)
Parameters
Returns
Overrides
|
Improve this Doc
View Source
ReceivePluginInternal(Object)
Declaration
protected override bool ReceivePluginInternal(object message)
Parameters
Type |
Name |
Description |
Object |
message |
|
Returns
Overrides
|
Improve this Doc
View Source
Declaration
protected override async Task SaveAsync(SnapshotMetadata metadata, object snapshot)
Parameters
Returns
Overrides
Implements
Extension Methods