public EventStoreStatefulActorBuilder(World world, IActorConfiguration actorConfiguration, IEventStoreActorConfigurationFactory eventStoreCacheFactory) { _streamsToRegisterTo = new List <Func <IConnectionStatusMonitor <IEventStoreConnection>, ILoggerFactory, IEventStoreStream> >(); _eventStoreCacheFactory = eventStoreCacheFactory; _actorConfiguration = actorConfiguration; _busToRegisterTo = new Dictionary <Type, Action <IServiceProvider, IActor> >(); _world = world; }
public BaseEventStoreStatefulActor(IEventStoreActorConfigurationFactory eventStoreCacheFactory, IConnectionStatusMonitor <IEventStoreConnection> connectionStatusMonitor, ISnapshotStore <TAggregate>?snapshotStore = null, ISnapshotStrategy?snapshotStrategy = null, ILoggerFactory?loggerFactory = null) : base(eventStoreCacheFactory, loggerFactory) { var eventStoreActorConfiguration = eventStoreCacheFactory.GetConfiguration <TAggregate>(GetType()); var eventStoreCache = eventStoreActorConfiguration.GetEventStoreCache(connectionStatusMonitor, loggerFactory, snapshotStore, snapshotStrategy); State = eventStoreCache; Initialize(); }
public TestCatchupWithMailboxActor(IEventStoreActorConfigurationFactory eventStoreCacheFactory, IConnectionStatusMonitor <IEventStoreConnection> connectionStatusMonitor, ISnapshotStore <SomeDataAggregate> snapshotStore = null, ISnapshotStrategy snapshotStrategy = null, ILoggerFactory loggerFactory = null) : base(eventStoreCacheFactory, connectionStatusMonitor, snapshotStore, snapshotStrategy, loggerFactory) { }
public TestStatefulActorOneHealthChecksMvc(IEventStoreActorConfigurationFactory eventStoreCacheFactory, IConnectionStatusMonitor <IEventStoreConnection> connectionStatusMonitor, ISnapshotStore <SomeDataAggregate> snapshotStore = null, ISnapshotStrategy snapshotStrategy = null, ILoggerFactory loggerFactory = null) : base(eventStoreCacheFactory, connectionStatusMonitor, snapshotStore, snapshotStrategy, loggerFactory) { }
public EventCountStatefulActor(IEventStoreActorConfigurationFactory eventStoreCacheFactory, IConnectionStatusMonitor <IEventStoreConnection> connectionStatusMonitor, ISnapshotStore <EventCountAggregate> snapshotStore = null, ISnapshotStrategy snapshotStrategy = null, ILoggerFactory loggerFactory = null) : base(eventStoreCacheFactory, connectionStatusMonitor, snapshotStore, snapshotStrategy, loggerFactory) { }
public TradeSink(IEventStoreActorConfigurationFactory eventStoreCacheFactory, IConnectionStatusMonitor <IEventStoreConnection> connectionStatusMonitor, ISnapshotStore <Trade> snapshotStore = null, ISnapshotStrategy snapshotStrategy = null, ILoggerFactory loggerFactory = null) : base(eventStoreCacheFactory, connectionStatusMonitor, snapshotStore, snapshotStrategy, loggerFactory) { }