return trace object after validating whether it can be sampled or not . concode_field_sep IdGenerator idGenerator concode_elem_sep Binder<Trace> threadLocalBinder concode_elem_sep StorageFactory storageFactory concode_elem_sep TraceContext traceContext concode_elem_sep Logger logger concode_elem_sep Sampler sampler concode_field_sep void bind concode_elem_sep Trace disableSampling concode_elem_sep Trace currentRpcTraceObject concode_elem_sep void checkBeforeTraceObject concode_elem_sep Trace currentRawTraceObject concode_elem_sep Trace continueTraceObject concode_elem_sep Trace continueTraceObject concode_elem_sep Trace newTraceObject concode_elem_sep Trace continueAsyncTraceObject concode_elem_sep Trace removeTraceObject
Trace function ( ) { final Trace loc0 = threadLocalBinder . get ( ) ; if ( loc0 == null ) { return null ; } if ( loc0 . canSampled ( ) ) { return loc0 ; } return null ; }