public MessageReplayerRepository(IPersistenceConfiguration persistenceConfiguration, IStorage storage, IBus bus, ITransport transport, IInMemoryMessageMatcher inMemoryMessageMatcher, IReporter speedReporter) { _persistenceConfiguration = persistenceConfiguration; _storage = storage; _bus = bus; _transport = transport; _inMemoryMessageMatcher = inMemoryMessageMatcher; _speedReporter = speedReporter; }
public MessageReplayer(IPersistenceConfiguration persistenceConfiguration, IStorage storage, IBus bus, ITransport transport, IInMemoryMessageMatcher inMemoryMessageMatcher, Peer peer, Guid replayId, IReporter reporter) { _persistenceConfiguration = persistenceConfiguration; _storage = storage; _bus = bus; _transport = transport; _inMemoryMessageMatcher = inMemoryMessageMatcher; _self = new Peer(transport.PeerId, transport.InboundEndPoint); _peer = peer; _replayId = replayId; _reporter = reporter; _replayBatchSize = _persistenceConfiguration.ReplayBatchSize; UnackedMessageCountThatReleasesNextBatch = _persistenceConfiguration.ReplayUnackedMessageCountThatReleasesNextBatch; }
public InMemoryMessageMatcherInitializer(IStorage storage, IInMemoryMessageMatcher persister) { _storage = storage; _persister = persister; }
public PersistMessageCommandHandler(IMessageReplayerRepository messageReplayerRepository, IInMemoryMessageMatcher inMemoryMessageMatcher, IPersistenceConfiguration configuration) { _messageReplayerRepository = messageReplayerRepository; _inMemoryMessageMatcher = inMemoryMessageMatcher; _configuration = configuration; }