docs: private Endpoint getEndpoint(String serviceName) {
          Endpoint cachedEndpoint = endpointCache.get(serviceName);
  
          if (cachedEndpoint == null) {
              cachedEndpoint = computeEndpoint(serviceName);
              if (cachedEndpoint == null) {
                  return null;
              }
          }
  
          endpointCache.put(serviceName, cachedEndpoint);
          return cachedEndpoint;
      }