@Override
    public Builder addScopeDecorator(ScopeDecorator scopeDecorator) {
        // a null ScopeDecorator will be checked by the super class.
        if (scopeDecorator != null && scopeDecorator != ScopeDecorator.NOOP) {
            scopeDecoratorAdded = true;
        }
        return super.addScopeDecorator(scopeDecorator);
    }
Sets a regular expression that matches names of threads that should be considered non-request
threads, meaning they may have spans created for clients outside of the context of an Armeria
request. For example, this can be set to {@code Pattern.compile("RMI TCP Connection")} if you use
RMI to serve monitoring requests.

@see RequestContextCurrentTraceContext#setCurrentThreadNotRequestThread(boolean)
@deprecated This setting has no effect.
brave/brave6/src/main/java/com/linecorp/armeria/common/brave/RequestContextCurrentTraceContextBuilder.java