Skip to content
This repository was archived by the owner on Apr 7, 2026. It is now read-only.

Commit 638577e

Browse files
committed
fix javadoc
1 parent 3fb1f54 commit 638577e

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

google-cloud-spanner/src/main/java/com/google/cloud/spanner/spi/v1/ChannelEndpointCache.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)