Exemple #1
0
 public QueueContainer(EventReceiver eventReceiver, ILogger <QueueContainer> logger, StoreError storeError, int maxQueueSize = 0)
 {
     _logger        = logger;
     _eventReceiver = eventReceiver;
     _queueWriters  = new QueueWriter[_count];
     for (int i = 0; i < _count; i++)
     {
         _queueWriters[i] = new QueueWriter(eventReceiver, logger, storeError, maxQueueSize);
     }
     _ = _eventReceiver.LogCount();
     _ = LogQueueLength();
 }