public SpanCollector(IClientProvider clientProvider, int maxProcessorBatchSize) { if (spanQueue == null) { spanQueue = new BlockingCollection <Span>(MAX_QUEUE_SIZE); } this.clientProvider = clientProvider; spanProcessor = new SpanProcessor(spanQueue, clientProvider, maxProcessorBatchSize); }
public SpanCollector(IClientProvider clientProvider, int maxProcessorBatchSize) { if ( spanQueue == null) { spanQueue = new BlockingCollection<Span>(MAX_QUEUE_SIZE); } this.clientProvider = clientProvider; spanProcessor = new SpanProcessor(spanQueue, clientProvider, maxProcessorBatchSize); }