public PollingClient(IPersistence store, long lastPosition, ISubscription subscription, INStoreLoggerFactory inStoreLoggerFactory) { this._logger = inStoreLoggerFactory.CreateLogger(GetType().FullName); _sequencer = new Sequencer(lastPosition, subscription, _logger); _store = store; PollingIntervalMilliseconds = 200; HoleDetectionTimeout = 2000; }
public LogDecorator(IPersistence persistence, INStoreLoggerFactory inStoreLoggerFactory) { _persistence = persistence; _logger = inStoreLoggerFactory.CreateLogger("Persistence"); }
public LogDecorator(IPersistence persistence, INStoreLoggerFactory inStoreLoggerFactory, string categoryName = "Persistence") { _persistence = persistence; _logger = inStoreLoggerFactory.CreateLogger(categoryName); }