JaegerTracer implements Tracer, Closeable { public boolean isUseTraceId128Bit() { return this.useTraceId128Bit; } protected  JaegerTracer(JaegerTracer.Builder builder); String getVersion(); Metrics getMetrics(); String getServiceName(); Map<String, ?> tags(); int getIpv4(); @Override ScopeManager scopeManager(); @Override Span activeSpan(); @Override JaegerTracer.SpanBuilder buildSpan(String operationName); @Override void inject(SpanContext spanContext, Format<T> format, T carrier); @Override JaegerSpanContext extract(Format<T> format, T carrier); @Override void close(); static String getVersionFromProperties(); boolean isUseTraceId128Bit(); @Override Scope activateSpan(Span span);  }
@Test public void testTraceId64Bit() { JaegerTracer tracer = new Builder("name").build(); assertFalse(tracer.isUseTraceId128Bit()); }
@Test public void testTraceId128Bit() { JaegerTracer tracer = new Builder("name").withTraceId128Bit().build(); assertTrue(tracer.isUseTraceId128Bit()); }