public ExpiredSagasCollectorProcessor(ISagaStorage sagaStorage, IOptions <PoleSagasServerOption> options, ILogger <ExpiredSagasCollectorProcessor> logger, ISagaStorageInitializer sagaStorageInitializer) { this.sagaStorage = sagaStorage; this.options = options.Value ?? throw new Exception($"{nameof(PoleSagasServerOption)} Must be injected"); this.logger = logger; this.sagaStorageInitializer = sagaStorageInitializer; }
public NotEndedSagasFetchProcessor(ISagaStorage sagaStorage, IOptions <PoleSagasServerOption> options, ILogger <NotEndedSagasFetchProcessor> logger, ISagasBuffer sagasBuffer) { this.sagaStorage = sagaStorage; this.options = options.Value ?? throw new Exception($"{nameof(PoleSagasServerOption)} Must be injected"); this.logger = logger; this.sagasBuffer = sagasBuffer; }
public PrometheusFailedSagasGaugeProcessor( ILogger <PrometheusFailedSagasGaugeProcessor> logger, ISagaStorage sagaStorage, IOptions <PoleSagasServerOption> poleOptions) { this.logger = logger; this.sagaStorage = sagaStorage; this.poleOptions = poleOptions.Value; }
public SagaService(ISagaStorage sagaStorage, ISagasBuffer sagasBuffer, IOptions <PoleSagasServerOption> poleSagasServerOption) { this.sagaStorage = sagaStorage; this.sagasBuffer = sagasBuffer; this.poleSagasServerOption = poleSagasServerOption.Value; }