public NotificationCenter(NotificationsStorage notificationsStorage, string database, CancellationToken shutdown) { _notificationsStorage = notificationsStorage; _database = database; _shutdown = shutdown; Options = new NotificationCenterOptions(); Paging = new Paging(this, _notificationsStorage, database); RequestLatency = new RequestLatency(this, _notificationsStorage, database); EtlNotifications = new EtlNotifications(this, _notificationsStorage, _database); SlowWrites = new SlowWriteNotifications(this, _notificationsStorage, _database); }
public NotificationCenter(NotificationsStorage notificationsStorage, string database, CancellationToken shutdown, RavenConfiguration config) { _notificationsStorage = notificationsStorage; _database = database; _shutdown = shutdown; _config = config; Options = new NotificationCenterOptions(); Paging = new Paging(this, _notificationsStorage, database); RequestLatency = new RequestLatency(this, _notificationsStorage, database); EtlNotifications = new EtlNotifications(this, _notificationsStorage, _database); SlowWrites = new SlowWriteNotifications(this, _notificationsStorage, _database); OutOfMemory = new OutOfMemoryNotifications(this); }