Search Results for

    Show / Hide Table of Contents

    Interface IEventAdapter

    An IEventAdapter is both a IWriteEventAdapter and a IReadEventAdapter. Facility to convert from and to specialised data models, as may be required by specialized persistence Journals.

    Typical use cases include (but are not limited to):

    - adding metadata, a.k.a. "tagging" - by wrapping objects into tagged counterparts

    - manually converting to the Journals storage format, such as JSON, BSON or any specialised binary format

    - adapting incoming events in any way before persisting them by the journal

    Inherited Members
    IWriteEventAdapter.Manifest(object)
    IWriteEventAdapter.ToJournal(object)
    IReadEventAdapter.FromJournal(object, string)
    Namespace: Akka.Persistence.Journal
    Assembly: Akka.Persistence.dll
    Syntax
    public interface IEventAdapter : IWriteEventAdapter, IReadEventAdapter

    Extension Methods

    ObjectExtensions.IsDefaultForType<T>(T)
    ObjectExtensions.AsOption<T>(T)
    Extensions.AsInstanceOf<T>(object)
    In this article
    • githubEdit this page
    • View Source
    Back to top
    Contribute
    • Project Chat
    • Discussion Forum
    • Source Code
    Support
    • Akka.NET Support Plans
    • Akka.NET Observability Tools
    • Akka.NET Training & Consulting
    Maintained By
    • Petabridge - The Akka.NET Company
    • Learn Akka.NET