@Override
    @Nullable
    public TraceContext get() {
        final TraceContext traceContext = InternalTraceContextUtil.get();
        if (traceContext != null) {
            return traceContext;
        }
        final RequestContext ctx = RequestContext.currentOrNull();
        if (ctx == null) {
            return null;
        }
        return traceContext(ctx);
    }
Sets whether the current thread is not a request thread, meaning it is never executed in the scope of a
server or client request and will never have a {@link RequestContext} available. This can be called from
background threads, such as the thread that reports traced spans to storage, to prevent logging a
warning when trying to start a trace without having a {@link RequestContext}.

<p>For example, you could prevent warnings from the administrative threads controlled by
a {@link java.util.concurrent.ThreadFactory} like the following:
<pre>{@code
> ThreadFactory factory = (runnable) -> new Thread(new Runnable() {
>     @Override
>     public void run() {
>         RequestContextCurrentTraceContext.setCurrentThreadNotRequestThread(true);
>         runnable.run();
>     }
>
>     @Override
>     public String toString() {
>         return runnable.toString();
>     }
> });
}</pre>

@deprecated This setting has no effect.
brave/brave6/src/main/java/com/linecorp/armeria/common/brave/RequestContextCurrentTraceContext.java