C# Class Akka.Persistence.MongoDb.MongoDbPersistence

An actor system extension initializing support for MongoDb persistence layer.
Inheritance: IExtension
显示文件 Open project: akkadotnet/Akka.Persistence.MongoDB Class Usage Examples

Public Methods

Method Description
DefaultConfiguration ( ) : Config

Returns a default configuration for akka persistence MongoDb journal and snapshot store.

Get ( ActorSystem system ) : MongoDbPersistence
MongoDbPersistence ( ExtendedActorSystem system ) : System

Method Details

DefaultConfiguration() public static method

Returns a default configuration for akka persistence MongoDb journal and snapshot store.
public static DefaultConfiguration ( ) : Config
return Akka.Configuration.Config

Get() public static method

public static Get ( ActorSystem system ) : MongoDbPersistence
system ActorSystem
return MongoDbPersistence

MongoDbPersistence() public method

public MongoDbPersistence ( ExtendedActorSystem system ) : System
system ExtendedActorSystem
return System