Show / Hide Table of Contents

    Class ExtraPersistence

    extension used to inject all of the relevant settings.

    Inheritance
    System.Object
    ExtraPersistence
    Namespace:Akka.Persistence.Extras
    Assembly:Akka.Persistence.Extras.dll
    Syntax
    public sealed class ExtraPersistence : IExtension

    Constructors

    ExtraPersistence(ExtendedActorSystem)

    Creates a new ExtraPersistence instance and injects all appropriate serialization settings into .

    Declaration
    public ExtraPersistence(ExtendedActorSystem system)
    Parameters
    Type Name Description
    ExtendedActorSystem system

    The actor system to which this instance will be bound.

    Properties

    Running

    Used to check if all of the ExtraPersistence settings are currently active.

    Declaration
    public bool Running { get; }
    Property Value
    Type Description
    System.Boolean

    Methods

    For(ActorSystem)

    Fetch the current ExtraPersistence instance.

    Declaration
    public static ExtraPersistence For(ActorSystem system)
    Parameters
    Type Name Description
    ActorSystem system

    The .

    Returns
    Type Description
    ExtraPersistence

    The singleton ExtraPersistence instance associated with . Will create the ExtraPersistence instance if one doesn't exist.

    Back to top Copyright © 2015-2018 Petabridge®