Beispiel #1
0
 public Paging(NotificationCenter notificationCenter, NotificationsStorage notificationsStorage, string database)
 {
     _notificationCenter   = notificationCenter;
     _notificationsStorage = notificationsStorage;
     _database             = database;
     _logger = LoggingSource.Instance.GetLogger(database, GetType().FullName);
 }
 public SlowWriteNotifications(NotificationCenter notificationCenter, NotificationsStorage notificationsStorage, string database)
 {
     _notificationCenter   = notificationCenter;
     _notificationsStorage = notificationsStorage;
     _database             = database;
     _slowWrites           = new ConcurrentDictionary <string, SlowWritesDetails.SlowWriteInfo>();
 }
Beispiel #3
0
 public NotificationCenter(NotificationsStorage notificationsStorage, string resourceName, CancellationToken shutdown)
 {
     _notificationsStorage = notificationsStorage;
     _resourceName         = resourceName;
     _shutdown             = shutdown;
     Options = new NotificationCenterOptions();
     Paging  = new Paging(this, _notificationsStorage);
 }
Beispiel #4
0
 public SlowWriteNotifications(NotificationCenter notificationCenter, NotificationsStorage notificationsStorage, string database)
 {
     _notificationCenter   = notificationCenter;
     _notificationsStorage = notificationsStorage;
     _database             = database;
     _slowWrites           = new ConcurrentDictionary <string, SlowWritesDetails.SlowWriteInfo>();
     _logger = LoggingSource.Instance.GetLogger(database, GetType().FullName);
 }
Beispiel #5
0
 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);
 }
 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);
 }
Beispiel #7
0
 public RequestLatency(NotificationCenter notificationCenter, NotificationsStorage notificationsStorage, string database)
 {
     _notificationCenter   = notificationCenter;
     _notificationsStorage = notificationsStorage;
     _database             = database;
 }
Beispiel #8
0
 public EtlNotifications(NotificationCenter notificationCenter, NotificationsStorage notificationsStorage, string databaseName)
 {
     _notificationCenter   = notificationCenter;
     _notificationsStorage = notificationsStorage;
     _databaseName         = databaseName;
 }