void refreshStubs(IOExceptionSupplier<Collection<ServerName>> fetchEndpoints) throws IOException {
    // There is no actual call yet so we have not initialize the rpc client and related stubs yet,
    // give up refreshing
    if (addr2Stub == null) {
      LOG.debug("Skip refreshing stubs as we have not initialized rpc client yet");
      return;
    }
    LOG.debug("Going to refresh stubs");
    assert rpcClient != null;
    addr2Stub = createStubs(rpcClient, fetchEndpoints.get());
  }
A class for creating {@link RpcClient} and related stubs used by
{@link AbstractRpcBasedConnectionRegistry}. We need to connect to bootstrap nodes to get the
cluster id first, before creating the final {@link RpcClient} and related stubs.
<p>
See HBASE-25051 for more details.
hbase-client/src/main/java/org/apache/hadoop/hbase/client/ConnectionRegistryRpcStubHolder.java