コード例 #1
0
 public NotificationCenter(NotificationsStorage notificationsStorage, string resourceName, CancellationToken shutdown)
 {
     _notificationsStorage = notificationsStorage;
     _resourceName         = resourceName;
     _shutdown             = shutdown;
     Options = new NotificationCenterOptions();
     Paging  = new Paging(this, _notificationsStorage);
 }
コード例 #2
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);
 }
コード例 #3
0
 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);
 }