C# Class Regalo.RavenDB.DelayedWriteRavenEventStore

Inheritance: IDelayedWriteEventStore, IEventStoreWithPreloading, IDisposable
Mostrar archivo Open project: nbarnwell/Regalo

Public Methods

Method Description
Add ( System.Guid aggregateId, IEnumerable events ) : void
DelayedWriteRavenEventStore ( IDocumentStore documentStore, IVersionHandler versionHandler ) : System
Dispose ( ) : void
Flush ( ) : void
Load ( System.Guid aggregateId ) : IEnumerable
Load ( System.Guid aggregateId, System.Guid maxVersion ) : IEnumerable
Preload ( IEnumerable aggregateIds ) : void
Update ( System.Guid aggregateId, IEnumerable events ) : void

Private Methods

Method Description
GetEventsForVersion ( IEnumerable events, System.Guid maxVersion ) : IEnumerable
SetRavenCollectionName ( IEnumerable events, IDocumentSession session, EventStream stream ) : void

Method Details

Add() public method

public Add ( System.Guid aggregateId, IEnumerable events ) : void
aggregateId System.Guid
events IEnumerable
return void

DelayedWriteRavenEventStore() public method

public DelayedWriteRavenEventStore ( IDocumentStore documentStore, IVersionHandler versionHandler ) : System
documentStore IDocumentStore
versionHandler IVersionHandler
return System

Dispose() public method

public Dispose ( ) : void
return void

Flush() public method

public Flush ( ) : void
return void

Load() public method

public Load ( System.Guid aggregateId ) : IEnumerable
aggregateId System.Guid
return IEnumerable

Load() public method

public Load ( System.Guid aggregateId, System.Guid maxVersion ) : IEnumerable
aggregateId System.Guid
maxVersion System.Guid
return IEnumerable

Preload() public method

public Preload ( IEnumerable aggregateIds ) : void
aggregateIds IEnumerable
return void

Update() public method

public Update ( System.Guid aggregateId, IEnumerable events ) : void
aggregateId System.Guid
events IEnumerable
return void