public void createUpstreams(final String pluginSelectorName, final List<DiscoveryUpstreamData> upstreams) {
        List<DiscoveryUpstreamData> discoveryUpstreamDataList = Optional.ofNullable(upstreams).orElseGet(ArrayList::new);
        cache.put(pluginSelectorName, discoveryUpstreamDataList);
    }
createUpstreams.

@param pluginSelectorName pluginSelectorName
@param upstreams          upstreams
shenyu-protocol/shenyu-protocol-tcp/src/main/java/org/apache/shenyu/protocol/tcp/UpstreamProvider.java