in alloydb-jdbc-connector/src/main/java/com/google/cloud/alloydb/LazyConnectionInfoCache.java [102:113]
public void forceRefresh() {
// invalidate connectionInfo so that the next call to getConectionInfo() will
// fetch new data.
synchronized (connectionInfoGuard) {
if (closed) {
throw new IllegalStateException(
String.format("[%s] Lazy Refresh: Named connection closed.", instanceURI));
}
this.connectionInfo = null;
logger.debug(String.format("[%s] Lazy Refresh Operation: Forced refresh.", instanceURI));
}
}