private void setPublicAttrs(RPCTrafficSourceBuilder sourceBuilder, SpanObject span) {
        long latency = span.getEndTime() - span.getStartTime();
        sourceBuilder.setTimeBucket(TimeBucket.getMinuteTimeBucket(span.getStartTime()));
        sourceBuilder.setLatency((int) latency);
        sourceBuilder.setHttpResponseStatusCode(Const.NONE);
        span.getTagsList().forEach(sourceBuilder::setTag);
        sourceBuilder.setStatus(!span.getIsError());
    }
Endpoint dependency could be detected by local and exit span in cross threads cases.
This is an add-on to {@link RPCAnalysisListener}, which is detecting all RPC relative statistics.

@since 9.0.0
oap-server/analyzer/agent-analyzer/src/main/java/org/apache/skywalking/oap/server/analyzer/provider/trace/parser/listener/EndpointDepFromCrossThreadAnalysisListener.java