public MsSqlConnection( IMsSqlConfiguration configuration, ITransientFaultHandler <ISqlErrorRetryStrategy> transientFaultHandler) { _configuration = configuration; _transientFaultHandler = transientFaultHandler; }
public PostgreSqlConnection( ILog log, IPostgreSqlConfiguration configuration, IPostgreSqlConnectionFactory connectionFactory, ITransientFaultHandler <IPostgreSqlErrorRetryStrategy> transientFaultHandler) : base(log, configuration, connectionFactory, transientFaultHandler) { }
public SQLiteConnection( ILog log, ISQLiteConfiguration configuration, ISQLiteConnectionFactory connectionFactory, ITransientFaultHandler <ISQLiteErrorRetryStrategy> transientFaultHandler) : base(log, configuration, connectionFactory, transientFaultHandler) { }
public SQLiteReadModelStore( ILog log, ISQLiteConnection connection, IReadModelSqlGenerator readModelSqlGenerator, IReadModelFactory <TReadModel> readModelFactory, ITransientFaultHandler <IOptimisticConcurrencyRetryStrategy> transientFaultHandler) : base(log, connection, readModelSqlGenerator, readModelFactory, transientFaultHandler) { }
public AggregateStore(IServiceProvider serviceProvider) { _serviceProvider = serviceProvider; _logger = serviceProvider.GetRequiredService <ILogger <AggregateStore> >(); _eventJsonSerializer = serviceProvider.GetRequiredService <IEventJsonSerializer>(); _persistenceFactory = serviceProvider.GetRequiredService <IPersistenceFactory>(); _aggregateFactory = serviceProvider.GetRequiredService <IAggregateFactory>(); _transientFaultHandler = serviceProvider.GetRequiredService <ITransientFaultHandler <IOptimisticConcurrencyResilientStrategy> >(); _cancellationConfiguration = serviceProvider.GetRequiredService <ICancellationConfiguration>(); }
protected SqlConnection( ILog log, TConfiguration configuration, TConnectionFactory connectionFactory, ITransientFaultHandler <TRetryStrategy> transientFaultHandler) { ConnectionFactory = connectionFactory; Log = log; Configuration = configuration; TransientFaultHandler = transientFaultHandler; }
public AggregateStore( IAggregateFactory aggregateFactory, IEventStore eventStore, ISnapshotStore snapshotStore, ITransientFaultHandler <IOptimisticConcurrencyRetryStrategy> transientFaultHandler) { _aggregateFactory = aggregateFactory; _eventStore = eventStore; _snapshotStore = snapshotStore; _transientFaultHandler = transientFaultHandler; }
public ElasticsearchReadModelStore( ILog log, IElasticClient elasticClient, IReadModelDescriptionProvider readModelDescriptionProvider, ITransientFaultHandler <IOptimisticConcurrencyRetryStrategy> transientFaultHandler) { _log = log; _elasticClient = elasticClient; _readModelDescriptionProvider = readModelDescriptionProvider; _transientFaultHandler = transientFaultHandler; }
public RabbitMqPublisher( ILog log, IRabbitMqConnectionFactory connectionFactory, IRabbitMqConfiguration configuration, ITransientFaultHandler <IRabbitMqRetryStrategy> transientFaultHandler) { _log = log; _connectionFactory = connectionFactory; _configuration = configuration; _transientFaultHandler = transientFaultHandler; }
public RabbitMqPublisher( ILog log, IRabbitMqConnectionFactory connectionFactory, IRabbitMqConfiguration configuration, ITransientFaultHandler<IRabbitMqRetryStrategy> transientFaultHandler) { _log = log; _connectionFactory = connectionFactory; _configuration = configuration; _transientFaultHandler = transientFaultHandler; }
public MongoDbReadModelStore( ILog log, IMongoDatabase mongoDatabase, IReadModelDescriptionProvider readModelDescriptionProvider, ITransientFaultHandler <IOptimisticConcurrencyRetryStrategy> transientFaultHandler) { _log = log; _mongoDatabase = mongoDatabase; _readModelDescriptionProvider = readModelDescriptionProvider; _transientFaultHandler = transientFaultHandler; }
public CommandBus( ILog log, IResolver resolver, IEventStore eventStore, IDomainEventPublisher domainEventPublisher, ITransientFaultHandler <IOptimisticConcurrencyRetryStrategy> transientFaultHandler) { _log = log; _resolver = resolver; _eventStore = eventStore; _domainEventPublisher = domainEventPublisher; _transientFaultHandler = transientFaultHandler; }
public MssqlReadModelStore( ILog log, IMsSqlConnection connection, IReadModelSqlGenerator readModelSqlGenerator, IReadModelFactory <TReadModel> readModelFactory, ITransientFaultHandler <IOptimisticConcurrencyRetryStrategy> transientFaultHandler) : base(log) { _connection = connection; _readModelSqlGenerator = readModelSqlGenerator; _readModelFactory = readModelFactory; _transientFaultHandler = transientFaultHandler; }
public EntityFrameworkReadModelStore( IBulkOperationConfiguration bulkOperationConfiguration, ILog log, IReadModelFactory <TReadModel> readModelFactory, IDbContextProvider <TDbContext> contextProvider, ITransientFaultHandler <IOptimisticConcurrencyRetryStrategy> transientFaultHandler) : base(log) { _readModelFactory = readModelFactory; _contextProvider = contextProvider; _transientFaultHandler = transientFaultHandler; _deletionBatchSize = bulkOperationConfiguration.DeletionBatchSize; }
public RabbitMqSubscriber( ILog log, IRabbitMqConnectionFactory connectionFactory, IRabbitMqConfiguration configuration, ITransientFaultHandler <IRabbitMqRetryStrategy> transientFaultHandler, IRabbitMqMessageFactory rabbitMqMessageFactory ) { _log = log; _connectionFactory = connectionFactory; _configuration = configuration; _transientFaultHandler = transientFaultHandler; _rabbitMqMessageFactory = rabbitMqMessageFactory; }
public AggregateStore( ILog log, IResolver resolver, IAggregateFactory aggregateFactory, IEventStore eventStore, ISnapshotStore snapshotStore, ITransientFaultHandler <IOptimisticConcurrencyRetryStrategy> transientFaultHandler, ICancellationConfiguration cancellationConfiguration) { _log = log; _resolver = resolver; _aggregateFactory = aggregateFactory; _eventStore = eventStore; _snapshotStore = snapshotStore; _transientFaultHandler = transientFaultHandler; _cancellationConfiguration = cancellationConfiguration; }
public AggregateStore( ILogger <AggregateStore> logger, IServiceProvider serviceProvider, IAggregateFactory aggregateFactory, IEventStore eventStore, ISnapshotStore snapshotStore, ITransientFaultHandler <IOptimisticConcurrencyRetryStrategy> transientFaultHandler, ICancellationConfiguration cancellationConfiguration, IAggregateStoreResilienceStrategy aggregateStoreResilienceStrategy, IEventFlowConfiguration eventFlowConfiguration) { _logger = logger; _serviceProvider = serviceProvider; _aggregateFactory = aggregateFactory; _eventStore = eventStore; _snapshotStore = snapshotStore; _transientFaultHandler = transientFaultHandler; _cancellationConfiguration = cancellationConfiguration; _aggregateStoreResilienceStrategy = aggregateStoreResilienceStrategy; _eventFlowConfiguration = eventFlowConfiguration; }