test_class.declarator: DEFAULT_SOURCE = "jaeger"
test_class.modifier: private static final
test_class.original_string: private static final String DEFAULT_SOURCE = "jaeger";
test_class.type: String
test_class.var_name: DEFAULT_SOURCE
test_class.declarator: mockTraceHandler =
        MockReportableEntityHandlerFactory.getMockTraceHandler()
test_class.modifier: private
test_class.original_string: private ReportableEntityHandler<Span, String> mockTraceHandler =
        MockReportableEntityHandlerFactory.getMockTraceHandler();
test_class.type: ReportableEntityHandler<Span, String>
test_class.var_name: mockTraceHandler
test_class.declarator: mockTraceSpanLogsHandler =
        MockReportableEntityHandlerFactory.getMockTraceSpanLogsHandler()
test_class.modifier: private
test_class.original_string: private ReportableEntityHandler<SpanLogs, String> mockTraceSpanLogsHandler =
        MockReportableEntityHandlerFactory.getMockTraceSpanLogsHandler();
test_class.type: ReportableEntityHandler<SpanLogs, String>
test_class.var_name: mockTraceSpanLogsHandler
test_class.declarator: mockWavefrontSender = EasyMock.createMock(WavefrontSender.class)
test_class.modifier: private
test_class.original_string: private WavefrontSender mockWavefrontSender = EasyMock.createMock(WavefrontSender.class);
test_class.type: WavefrontSender
test_class.var_name: mockWavefrontSender
test_class.declarator: mockCtx = createNiceMock(ChannelHandlerContext.class)
test_class.modifier: private
test_class.original_string: private ChannelHandlerContext mockCtx = createNiceMock(ChannelHandlerContext.class);
test_class.type: ChannelHandlerContext
test_class.var_name: mockCtx
test_class.declarator: startTime = System.currentTimeMillis()
test_class.modifier: private
test_class.original_string: private long startTime = System.currentTimeMillis();
test_class.type: long
test_class.var_name: startTime
test_class.declarator: PREPROCESSED_APPLICATION_TAG_VALUE = "preprocessedApplication"
test_class.modifier: private final
test_class.original_string: private final String PREPROCESSED_APPLICATION_TAG_VALUE = "preprocessedApplication";
test_class.type: String
test_class.var_name: PREPROCESSED_APPLICATION_TAG_VALUE
test_class.declarator: PREPROCESSED_SERVICE_TAG_VALUE = "preprocessedService"
test_class.modifier: private final
test_class.original_string: private final String PREPROCESSED_SERVICE_TAG_VALUE = "preprocessedService";
test_class.type: String
test_class.var_name: PREPROCESSED_SERVICE_TAG_VALUE
test_class.declarator: PREPROCESSED_CLUSTER_TAG_VALUE = "preprocessedCluster"
test_class.modifier: private final
test_class.original_string: private final String PREPROCESSED_CLUSTER_TAG_VALUE = "preprocessedCluster";
test_class.type: String
test_class.var_name: PREPROCESSED_CLUSTER_TAG_VALUE
test_class.declarator: PREPROCESSED_SHARD_TAG_VALUE = "preprocessedShard"
test_class.modifier: private final
test_class.original_string: private final String PREPROCESSED_SHARD_TAG_VALUE = "preprocessedShard";
test_class.type: String
test_class.var_name: PREPROCESSED_SHARD_TAG_VALUE
test_class.declarator: PREPROCESSED_SOURCE_VALUE = "preprocessedSource"
test_class.modifier: private final
test_class.original_string: private final String PREPROCESSED_SOURCE_VALUE = "preprocessedSource";
test_class.type: String
test_class.var_name: PREPROCESSED_SOURCE_VALUE
test_class.file: proxy/src/test/java/com/wavefront/agent/listeners/tracing/JaegerPortUnificationHandlerTest.java
test_class.identifier: JaegerPortUnificationHandlerTest
test_case.body: @Test
    public void testJaegerPortUnificationHandler() throws Exception {
      reset(mockTraceHandler, mockTraceSpanLogsHandler, mockCtx);
      Span expectedSpan1 = Span.newBuilder().setCustomer("dummy").setStartMillis(startTime)
          .setDuration(1234)
          .setName("HTTP GET")
          .setSource(DEFAULT_SOURCE)
          .setSpanId("00000000-0000-0000-0000-00000012d687")
          .setTraceId("00000000-4996-02d2-0000-011f71fb04cb")
          // Note: Order of annotations list matters for this unit test.
          .setAnnotations(ImmutableList.of(
              new Annotation("ip", "10.0.0.1"),
              new Annotation("jaegerSpanId", "12d687"),
              new Annotation("jaegerTraceId", "499602d20000011f71fb04cb"),
              new Annotation("service", "frontend"),
              new Annotation("component", "db"),
              new Annotation("application", "Jaeger"),
              new Annotation("cluster", "none"),
              new Annotation("shard", "none"),
              new Annotation("_spanLogs", "true")))
          .build();
      mockTraceHandler.report(expectedSpan1);
      expectLastCall();
  
      mockTraceSpanLogsHandler.report(SpanLogs.newBuilder().
          setCustomer("default").
          setSpanId("00000000-0000-0000-0000-00000012d687").
          setTraceId("00000000-4996-02d2-0000-011f71fb04cb").
          setLogs(ImmutableList.of(
              SpanLog.newBuilder().
                  setTimestamp(startTime * 1000).
                  setFields(ImmutableMap.of("event", "error", "exception", "NullPointerException")).
                  build()
          )).
          build());
      expectLastCall();
  
      mockTraceHandler.report(Span.newBuilder().setCustomer("dummy").setStartMillis(startTime)
          .setDuration(2345)
          .setName("HTTP GET /")
          .setSource(DEFAULT_SOURCE)
          .setSpanId("00000000-0000-0000-0000-00000023cace")
          .setTraceId("00000000-4996-02d2-0000-011f71fb04cb")
          // Note: Order of annotations list matters for this unit test.
          .setAnnotations(ImmutableList.of(
              new Annotation("ip", "10.0.0.1"),
              new Annotation("jaegerSpanId", "23cace"),
              new Annotation("jaegerTraceId", "499602d20000011f71fb04cb"),
              new Annotation("service", "frontend"),
              new Annotation("parent", "00000000-0000-0000-0000-00000012d687"),
              new Annotation("component", "db"),
              new Annotation("application", "Custom-JaegerApp"),
              new Annotation("cluster", "none"),
              new Annotation("shard", "none")))
          .build());
      expectLastCall();
  
      mockTraceHandler.report(Span.newBuilder().setCustomer("dummy").setStartMillis(startTime)
          .setDuration(3456)
          .setName("HTTP GET /")
          .setSource(DEFAULT_SOURCE)
          .setSpanId("00000000-0000-0000-9a12-b85901d53397")
          .setTraceId("00000000-0000-0000-fea4-87ee36e58cab")
          // Note: Order of annotations list matters for this unit test.
          .setAnnotations(ImmutableList.of(
              new Annotation("ip", "10.0.0.1"),
              new Annotation("jaegerSpanId", "9a12b85901d53397"),
              new Annotation("jaegerTraceId", "fea487ee36e58cab"),
              new Annotation("service", "frontend"),
              new Annotation("parent", "00000000-0000-0000-fea4-87ee36e58cab"),
              new Annotation("application", "Jaeger"),
              new Annotation("cluster", "none"),
              new Annotation("shard", "none")))
          .build());
      expectLastCall();
  
      // Test filtering empty tags
      mockTraceHandler.report(Span.newBuilder().setCustomer("dummy").setStartMillis(startTime)
          .setDuration(3456)
          .setName("HTTP GET /test")
          .setSource(DEFAULT_SOURCE)
          .setSpanId("00000000-0000-0000-0000-0051759bfc69")
          .setTraceId("0000011e-ab2a-9944-0000-000049631900")
          // Note: Order of annotations list matters for this unit test.
          .setAnnotations(ImmutableList.of(
              new Annotation("ip", "10.0.0.1"),
              new Annotation("jaegerSpanId", "51759bfc69"),
              new Annotation("jaegerTraceId", "11eab2a99440000000049631900"),
              new Annotation("service", "frontend"),
              new Annotation("application", "Jaeger"),
              new Annotation("cluster", "none"),
              new Annotation("shard", "none")))
          .build());
      expectLastCall();
  
      expect(mockCtx.write(EasyMock.isA(FullHttpResponse.class))).andReturn(null).anyTimes();
  
      replay(mockTraceHandler, mockTraceSpanLogsHandler, mockCtx);
  
      JaegerPortUnificationHandler handler = new JaegerPortUnificationHandler("14268",
          TokenAuthenticatorBuilder.create().build(), new NoopHealthCheckManager(),
          mockTraceHandler, mockTraceSpanLogsHandler, null, () -> false, () -> false, null,
          new SpanSampler(new RateSampler(1.0D), false), null, null);
  
      Tag ipTag = new Tag("ip", TagType.STRING);
      ipTag.setVStr("10.0.0.1");
  
      Tag componentTag = new Tag("component", TagType.STRING);
      componentTag.setVStr("db");
  
      Tag customApplicationTag = new Tag("application", TagType.STRING);
      customApplicationTag.setVStr("Custom-JaegerApp");
  
      Tag emptyTag = new Tag("empty", TagType.STRING);
      emptyTag.setVStr("");
  
      io.jaegertracing.thriftjava.Span span1 = new io.jaegertracing.thriftjava.Span(1234567890123L, 1234567890L,
          1234567L, 0L, "HTTP GET", 1, startTime * 1000, 1234 * 1000);
  
      io.jaegertracing.thriftjava.Span span2 = new io.jaegertracing.thriftjava.Span(1234567890123L, 1234567890L,
          2345678L, 1234567L, "HTTP GET /", 1, startTime * 1000, 2345 * 1000);
  
      // check negative span IDs too
      io.jaegertracing.thriftjava.Span span3 = new io.jaegertracing.thriftjava.Span(-97803834702328661L, 0L,
          -7344605349865507945L, -97803834702328661L, "HTTP GET /", 1, startTime * 1000, 3456 * 1000);
  
      io.jaegertracing.thriftjava.Span span4 = new io.jaegertracing.thriftjava.Span(1231231232L, 1231232342340L,
          349865507945L, 0, "HTTP GET /test", 1, startTime * 1000, 3456 * 1000);
  
      span1.setTags(ImmutableList.of(componentTag));
      span2.setTags(ImmutableList.of(componentTag, customApplicationTag));
      span4.setTags(ImmutableList.of(emptyTag));
  
      Tag tag1 = new Tag("event", TagType.STRING);
      tag1.setVStr("error");
      Tag tag2 = new Tag("exception", TagType.STRING);
      tag2.setVStr("NullPointerException");
      span1.setLogs(ImmutableList.of(new Log(startTime * 1000,
          ImmutableList.of(tag1, tag2))));
  
      Batch testBatch = new Batch();
      testBatch.process = new Process();
      testBatch.process.serviceName = "frontend";
      testBatch.process.setTags(ImmutableList.of(ipTag));
  
      testBatch.setSpans(ImmutableList.of(span1, span2, span3, span4));
  
      ByteBuf content = Unpooled.copiedBuffer(new TSerializer().serialize(testBatch));
  
      FullHttpRequest httpRequest = new DefaultFullHttpRequest(
          HttpVersion.HTTP_1_1,
          HttpMethod.POST,
          "http://localhost:14268/api/traces",
          content,
          true
      );
      handler.handleHttpMessage(mockCtx, httpRequest);
      verify(mockTraceHandler, mockTraceSpanLogsHandler);
    }
test_case.class_method_signature: JaegerPortUnificationHandlerTest.testJaegerPortUnificationHandler()
test_case.full_signature: @Test public void testJaegerPortUnificationHandler()
test_case.identifier: testJaegerPortUnificationHandler
test_case.invocations: reset build setAnnotations setTraceId setSpanId setSource setName setDuration setStartMillis setCustomer newBuilder of report expectLastCall report build setLogs setTraceId setSpanId setCustomer newBuilder of build setFields setTimestamp newBuilder of expectLastCall report build setAnnotations setTraceId setSpanId setSource setName setDuration setStartMillis setCustomer newBuilder of expectLastCall report build setAnnotations setTraceId setSpanId setSource setName setDuration setStartMillis setCustomer newBuilder of expectLastCall report build setAnnotations setTraceId setSpanId setSource setName setDuration setStartMillis setCustomer newBuilder of expectLastCall anyTimes andReturn expect write isA replay build create setVStr setVStr setVStr setVStr setTags of setTags of setTags of setVStr setVStr setLogs of of setTags of setSpans of copiedBuffer serialize handleHttpMessage verify
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testJaegerPortUnificationHandler()
focal_class.declarator: logger =
        Logger.getLogger(JaegerPortUnificationHandler.class.getCanonicalName())
focal_class.modifier: protected static final
focal_class.original_string: protected static final Logger logger =
        Logger.getLogger(JaegerPortUnificationHandler.class.getCanonicalName());
focal_class.type: Logger
focal_class.var_name: logger
focal_class.declarator: JAEGER_COMPONENT = "jaeger"
focal_class.modifier: private final static
focal_class.original_string: private final static String JAEGER_COMPONENT = "jaeger";
focal_class.type: String
focal_class.var_name: JAEGER_COMPONENT
focal_class.declarator: DEFAULT_SOURCE = "jaeger"
focal_class.modifier: private final static
focal_class.original_string: private final static String DEFAULT_SOURCE = "jaeger";
focal_class.type: String
focal_class.var_name: DEFAULT_SOURCE
focal_class.declarator: spanHandler
focal_class.modifier: private final
focal_class.original_string: private final ReportableEntityHandler<Span, String> spanHandler;
focal_class.type: ReportableEntityHandler<Span, String>
focal_class.var_name: spanHandler
focal_class.declarator: spanLogsHandler
focal_class.modifier: private final
focal_class.original_string: private final ReportableEntityHandler<SpanLogs, String> spanLogsHandler;
focal_class.type: ReportableEntityHandler<SpanLogs, String>
focal_class.var_name: spanLogsHandler
focal_class.declarator: wfSender
focal_class.modifier: @Nullable
    private final
focal_class.original_string: @Nullable
    private final WavefrontSender wfSender;
focal_class.type: WavefrontSender
focal_class.var_name: wfSender
focal_class.declarator: wfInternalReporter
focal_class.modifier: @Nullable
    private final
focal_class.original_string: @Nullable
    private final WavefrontInternalReporter wfInternalReporter;
focal_class.type: WavefrontInternalReporter
focal_class.var_name: wfInternalReporter
focal_class.declarator: traceDisabled
focal_class.modifier: private final
focal_class.original_string: private final Supplier<Boolean> traceDisabled;
focal_class.type: Supplier<Boolean>
focal_class.var_name: traceDisabled
focal_class.declarator: spanLogsDisabled
focal_class.modifier: private final
focal_class.original_string: private final Supplier<Boolean> spanLogsDisabled;
focal_class.type: Supplier<Boolean>
focal_class.var_name: spanLogsDisabled
focal_class.declarator: preprocessorSupplier
focal_class.modifier: private final
focal_class.original_string: private final Supplier<ReportableEntityPreprocessor> preprocessorSupplier;
focal_class.type: Supplier<ReportableEntityPreprocessor>
focal_class.var_name: preprocessorSupplier
focal_class.declarator: sampler
focal_class.modifier: private final
focal_class.original_string: private final SpanSampler sampler;
focal_class.type: SpanSampler
focal_class.var_name: sampler
focal_class.declarator: proxyLevelApplicationName
focal_class.modifier: private final
focal_class.original_string: private final String proxyLevelApplicationName;
focal_class.type: String
focal_class.var_name: proxyLevelApplicationName
focal_class.declarator: traceDerivedCustomTagKeys
focal_class.modifier: private final
focal_class.original_string: private final Set<String> traceDerivedCustomTagKeys;
focal_class.type: Set<String>
focal_class.var_name: traceDerivedCustomTagKeys
focal_class.declarator: receivedSpansTotal
focal_class.modifier: private final
focal_class.original_string: private final Counter receivedSpansTotal;
focal_class.type: Counter
focal_class.var_name: receivedSpansTotal
focal_class.declarator: discardedTraces
focal_class.modifier: private final
focal_class.original_string: private final Counter discardedTraces;
focal_class.type: Counter
focal_class.var_name: discardedTraces
focal_class.declarator: discardedBatches
focal_class.modifier: private final
focal_class.original_string: private final Counter discardedBatches;
focal_class.type: Counter
focal_class.var_name: discardedBatches
focal_class.declarator: processedBatches
focal_class.modifier: private final
focal_class.original_string: private final Counter processedBatches;
focal_class.type: Counter
focal_class.var_name: processedBatches
focal_class.declarator: failedBatches
focal_class.modifier: private final
focal_class.original_string: private final Counter failedBatches;
focal_class.type: Counter
focal_class.var_name: failedBatches
focal_class.declarator: discardedSpansBySampler
focal_class.modifier: private final
focal_class.original_string: private final Counter discardedSpansBySampler;
focal_class.type: Counter
focal_class.var_name: discardedSpansBySampler
focal_class.declarator: discoveredHeartbeatMetrics
focal_class.modifier: private final
focal_class.original_string: private final Set<Pair<Map<String, String>, String>> discoveredHeartbeatMetrics;
focal_class.type: Set<Pair<Map<String, String>, String>>
focal_class.var_name: discoveredHeartbeatMetrics
focal_class.declarator: scheduledExecutorService
focal_class.modifier: private final
focal_class.original_string: private final ScheduledExecutorService scheduledExecutorService;
focal_class.type: ScheduledExecutorService
focal_class.var_name: scheduledExecutorService
focal_class.declarator: JAEGER_VALID_PATH = "/api/traces/"
focal_class.modifier: private final static
focal_class.original_string: private final static String JAEGER_VALID_PATH = "/api/traces/";
focal_class.type: String
focal_class.var_name: JAEGER_VALID_PATH
focal_class.declarator: JAEGER_VALID_HTTP_METHOD = "POST"
focal_class.modifier: private final static
focal_class.original_string: private final static String JAEGER_VALID_HTTP_METHOD = "POST";
focal_class.type: String
focal_class.var_name: JAEGER_VALID_HTTP_METHOD
focal_class.file: proxy/src/main/java/com/wavefront/agent/listeners/tracing/JaegerPortUnificationHandler.java
focal_class.identifier: JaegerPortUnificationHandler
focal_class.interfaces: implements Runnable,
      Closeable
focal_class.class_method_signature: JaegerPortUnificationHandler.JaegerPortUnificationHandler(String handle,
                                        final TokenAuthenticator tokenAuthenticator,
                                        final HealthCheckManager healthCheckManager,
                                        ReportableEntityHandlerFactory handlerFactory,
                                        @Nullable WavefrontSender wfSender,
                                        Supplier<Boolean> traceDisabled,
                                        Supplier<Boolean> spanLogsDisabled,
                                        @Nullable Supplier<ReportableEntityPreprocessor> preprocessor,
                                        SpanSampler sampler,
                                        @Nullable String traceJaegerApplicationName,
                                        Set<String> traceDerivedCustomTagKeys)
focal_class.full_signature: public  JaegerPortUnificationHandler(String handle,
                                        final TokenAuthenticator tokenAuthenticator,
                                        final HealthCheckManager healthCheckManager,
                                        ReportableEntityHandlerFactory handlerFactory,
                                        @Nullable WavefrontSender wfSender,
                                        Supplier<Boolean> traceDisabled,
                                        Supplier<Boolean> spanLogsDisabled,
                                        @Nullable Supplier<ReportableEntityPreprocessor> preprocessor,
                                        SpanSampler sampler,
                                        @Nullable String traceJaegerApplicationName,
                                        Set<String> traceDerivedCustomTagKeys)
focal_class.identifier: JaegerPortUnificationHandler
focal_class.modifiers: public
focal_class.parameters: (String handle,
                                        final TokenAuthenticator tokenAuthenticator,
                                        final HealthCheckManager healthCheckManager,
                                        ReportableEntityHandlerFactory handlerFactory,
                                        @Nullable WavefrontSender wfSender,
                                        Supplier<Boolean> traceDisabled,
                                        Supplier<Boolean> spanLogsDisabled,
                                        @Nullable Supplier<ReportableEntityPreprocessor> preprocessor,
                                        SpanSampler sampler,
                                        @Nullable String traceJaegerApplicationName,
                                        Set<String> traceDerivedCustomTagKeys)
focal_class.signature:  JaegerPortUnificationHandler(String handle,
                                        final TokenAuthenticator tokenAuthenticator,
                                        final HealthCheckManager healthCheckManager,
                                        ReportableEntityHandlerFactory handlerFactory,
                                        @Nullable WavefrontSender wfSender,
                                        Supplier<Boolean> traceDisabled,
                                        Supplier<Boolean> spanLogsDisabled,
                                        @Nullable Supplier<ReportableEntityPreprocessor> preprocessor,
                                        SpanSampler sampler,
                                        @Nullable String traceJaegerApplicationName,
                                        Set<String> traceDerivedCustomTagKeys)
focal_class.class_method_signature: JaegerPortUnificationHandler.JaegerPortUnificationHandler(String handle,
                                 final TokenAuthenticator tokenAuthenticator,
                                 final HealthCheckManager healthCheckManager,
                                 ReportableEntityHandler<Span, String> spanHandler,
                                 ReportableEntityHandler<SpanLogs, String> spanLogsHandler,
                                 @Nullable WavefrontSender wfSender,
                                 Supplier<Boolean> traceDisabled,
                                 Supplier<Boolean> spanLogsDisabled,
                                 @Nullable Supplier<ReportableEntityPreprocessor> preprocessor,
                                 SpanSampler sampler,
                                 @Nullable String traceJaegerApplicationName,
                                 Set<String> traceDerivedCustomTagKeys)
focal_class.full_signature: @VisibleForTesting  JaegerPortUnificationHandler(String handle,
                                 final TokenAuthenticator tokenAuthenticator,
                                 final HealthCheckManager healthCheckManager,
                                 ReportableEntityHandler<Span, String> spanHandler,
                                 ReportableEntityHandler<SpanLogs, String> spanLogsHandler,
                                 @Nullable WavefrontSender wfSender,
                                 Supplier<Boolean> traceDisabled,
                                 Supplier<Boolean> spanLogsDisabled,
                                 @Nullable Supplier<ReportableEntityPreprocessor> preprocessor,
                                 SpanSampler sampler,
                                 @Nullable String traceJaegerApplicationName,
                                 Set<String> traceDerivedCustomTagKeys)
focal_class.identifier: JaegerPortUnificationHandler
focal_class.modifiers: @VisibleForTesting
focal_class.parameters: (String handle,
                                 final TokenAuthenticator tokenAuthenticator,
                                 final HealthCheckManager healthCheckManager,
                                 ReportableEntityHandler<Span, String> spanHandler,
                                 ReportableEntityHandler<SpanLogs, String> spanLogsHandler,
                                 @Nullable WavefrontSender wfSender,
                                 Supplier<Boolean> traceDisabled,
                                 Supplier<Boolean> spanLogsDisabled,
                                 @Nullable Supplier<ReportableEntityPreprocessor> preprocessor,
                                 SpanSampler sampler,
                                 @Nullable String traceJaegerApplicationName,
                                 Set<String> traceDerivedCustomTagKeys)
focal_class.signature:  JaegerPortUnificationHandler(String handle,
                                 final TokenAuthenticator tokenAuthenticator,
                                 final HealthCheckManager healthCheckManager,
                                 ReportableEntityHandler<Span, String> spanHandler,
                                 ReportableEntityHandler<SpanLogs, String> spanLogsHandler,
                                 @Nullable WavefrontSender wfSender,
                                 Supplier<Boolean> traceDisabled,
                                 Supplier<Boolean> spanLogsDisabled,
                                 @Nullable Supplier<ReportableEntityPreprocessor> preprocessor,
                                 SpanSampler sampler,
                                 @Nullable String traceJaegerApplicationName,
                                 Set<String> traceDerivedCustomTagKeys)
focal_class.class_method_signature: JaegerPortUnificationHandler.handleHttpMessage(final ChannelHandlerContext ctx,
                                     final FullHttpRequest request)
focal_class.full_signature: @Override protected void handleHttpMessage(final ChannelHandlerContext ctx,
                                     final FullHttpRequest request)
focal_class.identifier: handleHttpMessage
focal_class.modifiers: @Override protected
focal_class.parameters: (final ChannelHandlerContext ctx,
                                     final FullHttpRequest request)
focal_class.return: void
focal_class.signature: void handleHttpMessage(final ChannelHandlerContext ctx,
                                     final FullHttpRequest request)
focal_class.class_method_signature: JaegerPortUnificationHandler.run()
focal_class.full_signature: @Override public void run()
focal_class.identifier: run
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void run()
focal_class.class_method_signature: JaegerPortUnificationHandler.close()
focal_class.full_signature: @Override public void close()
focal_class.identifier: close
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void close()
focal_class.superclass: extends AbstractHttpOnlyHandler
focal_method.body: public JaegerPortUnificationHandler(String handle,
                                        final TokenAuthenticator tokenAuthenticator,
                                        final HealthCheckManager healthCheckManager,
                                        ReportableEntityHandlerFactory handlerFactory,
                                        @Nullable WavefrontSender wfSender,
                                        Supplier<Boolean> traceDisabled,
                                        Supplier<Boolean> spanLogsDisabled,
                                        @Nullable Supplier<ReportableEntityPreprocessor> preprocessor,
                                        SpanSampler sampler,
                                        @Nullable String traceJaegerApplicationName,
                                        Set<String> traceDerivedCustomTagKeys) {
      this(handle, tokenAuthenticator, healthCheckManager,
          handlerFactory.getHandler(HandlerKey.of(ReportableEntityType.TRACE, handle)),
          handlerFactory.getHandler(HandlerKey.of(ReportableEntityType.TRACE_SPAN_LOGS, handle)),
          wfSender, traceDisabled, spanLogsDisabled, preprocessor, sampler,
          traceJaegerApplicationName, traceDerivedCustomTagKeys);
    }
focal_method.class_method_signature: JaegerPortUnificationHandler.JaegerPortUnificationHandler(String handle,
                                        final TokenAuthenticator tokenAuthenticator,
                                        final HealthCheckManager healthCheckManager,
                                        ReportableEntityHandlerFactory handlerFactory,
                                        @Nullable WavefrontSender wfSender,
                                        Supplier<Boolean> traceDisabled,
                                        Supplier<Boolean> spanLogsDisabled,
                                        @Nullable Supplier<ReportableEntityPreprocessor> preprocessor,
                                        SpanSampler sampler,
                                        @Nullable String traceJaegerApplicationName,
                                        Set<String> traceDerivedCustomTagKeys)
focal_method.full_signature: public  JaegerPortUnificationHandler(String handle,
                                        final TokenAuthenticator tokenAuthenticator,
                                        final HealthCheckManager healthCheckManager,
                                        ReportableEntityHandlerFactory handlerFactory,
                                        @Nullable WavefrontSender wfSender,
                                        Supplier<Boolean> traceDisabled,
                                        Supplier<Boolean> spanLogsDisabled,
                                        @Nullable Supplier<ReportableEntityPreprocessor> preprocessor,
                                        SpanSampler sampler,
                                        @Nullable String traceJaegerApplicationName,
                                        Set<String> traceDerivedCustomTagKeys)
focal_method.identifier: JaegerPortUnificationHandler
focal_method.modifiers: public
focal_method.parameters: (String handle,
                                        final TokenAuthenticator tokenAuthenticator,
                                        final HealthCheckManager healthCheckManager,
                                        ReportableEntityHandlerFactory handlerFactory,
                                        @Nullable WavefrontSender wfSender,
                                        Supplier<Boolean> traceDisabled,
                                        Supplier<Boolean> spanLogsDisabled,
                                        @Nullable Supplier<ReportableEntityPreprocessor> preprocessor,
                                        SpanSampler sampler,
                                        @Nullable String traceJaegerApplicationName,
                                        Set<String> traceDerivedCustomTagKeys)
focal_method.signature:  JaegerPortUnificationHandler(String handle,
                                        final TokenAuthenticator tokenAuthenticator,
                                        final HealthCheckManager healthCheckManager,
                                        ReportableEntityHandlerFactory handlerFactory,
                                        @Nullable WavefrontSender wfSender,
                                        Supplier<Boolean> traceDisabled,
                                        Supplier<Boolean> spanLogsDisabled,
                                        @Nullable Supplier<ReportableEntityPreprocessor> preprocessor,
                                        SpanSampler sampler,
                                        @Nullable String traceJaegerApplicationName,
                                        Set<String> traceDerivedCustomTagKeys)