protected BatchingJournalWriter(MemstateSettings config) { Ensure.NotNull(config, nameof(config)); _batcher = new Batcher <Command>(config, OnCommandBatch); }
public InMemoryStorageProvider(MemstateSettings settings, long nextRecord = 0) { _batchingLogger = new Batcher <Command>(settings, OnCommandBatch); _subscriptions = new Dictionary <Guid, JournalSubscription>(); _nextRecord = nextRecord; }