This repository was archived by the owner on Apr 7, 2026. It is now read-only.
File tree Expand file tree Collapse file tree
google-cloud-spanner/src/main/java/com/google/cloud/spanner/spi/v1 Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -43,19 +43,19 @@ public interface ChannelEndpointCache {
4343 ChannelEndpoint defaultChannel ();
4444
4545 /**
46- * Returns a cached server for the given address, creating it if needed.
46+ * Returns a cached channel for the given address, creating it if needed.
4747 *
48- * <p>If a server for this address already exists in the cache, the cached instance is returned.
48+ * <p>If a channel for this address already exists in the cache, the cached instance is returned.
4949 * Otherwise, a new server connection is created and cached.
5050 *
5151 * @param address the server address in "host:port" format
52- * @return a server instance for the address, never null
52+ * @return a channel instance for the address, never null
5353 * @throws com.google.cloud.spanner.SpannerException if the channel cannot be created
5454 */
5555 ChannelEndpoint get (String address );
5656
5757 /**
58- * Evicts a server from the cache and gracefully shuts down its channel.
58+ * Evicts a server connection from the cache and gracefully shuts down its channel.
5959 *
6060 * <p>This method should be called when a server becomes unhealthy or is no longer needed. The
6161 * channel shutdown is graceful: existing RPCs are allowed to complete, but new RPCs will not be
You can’t perform that action at this time.
0 commit comments