Class LmdbDurableStore
An actor implementing the durable store for the Distributed Data Akka.DistributedData.Replicator
has to implement the protocol with the messages defined here.
At startup the Akka.DistributedData.Replicator creates the durable store actor and sends the
LoadAll message to it. It must then reply with 0 or more LoadData messages
followed by one LoadAllCompleted message to the Sender (the Akka.DistributedData.Replicator).
If the LoadAll fails it can throw LoadFailedException and the Akka.DistributedData.Replicator supervisor
will stop itself and the durable store.
When the Akka.DistributedData.Replicator needs to store a value it sends a Store message
to the durable store actor, which must then reply with the SuccessMessage or
FailureMessage to the ReplyTo.
Inheritance
LmdbDurableStore
Assembly: Akka.DistributedData.LightningDB.dll
Syntax
public sealed class LmdbDurableStore : ReceiveActor, IInternalActor, IInitializableActor, IWithTimers
Constructors
|
Improve this Doc
View Source
LmdbDurableStore(Config)
Declaration
public LmdbDurableStore(Config config)
Parameters
Type |
Name |
Description |
Config |
config |
|
Fields
|
Improve this Doc
View Source
DatabaseName
Declaration
public const string DatabaseName = "ddata"
Field Value
Properties
|
Improve this Doc
View Source
Timers
Declaration
public ITimerScheduler Timers { get; set; }
Property Value
Methods
|
Improve this Doc
View Source
PostRestart(Exception)
Declaration
protected override void PostRestart(Exception reason)
Parameters
Overrides
|
Improve this Doc
View Source
PostStop()
Declaration
protected override void PostStop()
Overrides
|
Improve this Doc
View Source
PreStart()
Declaration
protected override void PreStart()
Overrides
|
Improve this Doc
View Source
Props(Config)
Declaration
public static Props Props(Config config)
Parameters
Type |
Name |
Description |
Config |
config |
|
Returns
Implements
Extension Methods