Skip to content

Commit 38b0a3a

Browse files
committed
getChannel() doesn't block.
1 parent f96d395 commit 38b0a3a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

s2a/src/main/java/io/grpc/s2a/channel/S2AChannelPool.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public interface S2AChannelPool extends AutoCloseable {
2626
/**
2727
* Retrieves an open channel to the S2A from the channel pool.
2828
*
29-
* <p>If no channel is available, blocks until a channel can be retrieved from the channel pool.
29+
* @throws IllegalStateException if no channel is available.
3030
*/
3131
@CanIgnoreReturnValue
3232
Channel getChannel();

0 commit comments

Comments
 (0)