wrap the callable in a tracecallable , if tracing . concode_field_sep Function<ConfigurationAdapter,Sampler<?>> CREATE_NEVER concode_elem_sep PhoenixConnection conn concode_elem_sep Log LOG concode_elem_sep String SPAN_ID_ATTRIBUTE_KEY concode_elem_sep String TRACE_ID_ATTRIBUTE_KEY concode_elem_sep String SEPARATOR concode_elem_sep Function<ConfigurationAdapter,Sampler<?>> CREATE_PROBABILITY concode_elem_sep String TRACE_METRIC_PREFIX concode_elem_sep TraceScope scope concode_elem_sep Function<ConfigurationAdapter,Sampler<?>> builder concode_elem_sep Function<ConfigurationAdapter,Sampler<?>> CREATE_ALWAYS concode_elem_sep String key concode_elem_sep boolean initialized concode_elem_sep String desc concode_field_sep void addTraceMetricsSource concode_elem_sep String getKey concode_elem_sep Sampler<?> apply concode_elem_sep Sampler<?> apply concode_elem_sep Sampler<?> apply concode_elem_sep Sampler<?> getConfiguredSampler concode_elem_sep Sampler<?> getConfiguredSampler concode_elem_sep Sampler<?> getConfiguredSampler concode_elem_sep void before concode_elem_sep Frequency getSampler concode_elem_sep Sampler<?> getSampler concode_elem_sep boolean isTraceOn concode_elem_sep void addCustomAnnotationsToSpan concode_elem_sep CallWrapper withTracing concode_elem_sep void setSampling concode_elem_sep void after concode_elem_sep TraceScope startNewSpan concode_elem_sep String getSpanName concode_elem_sep Span child
Callable < V > function ( Callable < V > arg0 , String arg1 ) { if ( Trace . isTracing ( ) ) { return new TraceCallable < V > ( Trace . currentSpan ( ) , arg0 , arg1 ) ; } return arg0 ; }