コード例 #1
0
ファイル: WorkQueue.cs プロジェクト: gideonkorir/jaeger4net
 public WorkQueue(ISender sender, WorkQueueOptions options, ClientMetrics metrics)
 {
     this.sender  = sender ?? throw new ArgumentNullException(nameof(sender));
     this.metrics = metrics ?? throw new ArgumentNullException(nameof(metrics));
     this.options = options ?? throw new ArgumentNullException(nameof(options));
     queue        = new BlockingCollection <Span>(options.MaxQueueSize);
 }
コード例 #2
0
 public RemoteReporter(ISender sender, WorkQueueOptions options, ClientMetrics metrics)
 {
     this.metrics = metrics ?? throw new ArgumentNullException(nameof(metrics));
     workQueue    = new WorkQueue(sender, options, metrics);
 }