Skip to content

Commit

Permalink
getChannel() doesn't block.
Browse files Browse the repository at this point in the history
  • Loading branch information
rmehta19 committed Sep 12, 2024
1 parent f96d395 commit 38b0a3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion s2a/src/main/java/io/grpc/s2a/channel/S2AChannelPool.java
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public interface S2AChannelPool extends AutoCloseable {
/**
* Retrieves an open channel to the S2A from the channel pool.
*
* <p>If no channel is available, blocks until a channel can be retrieved from the channel pool.
* @throws IllegalStateException if no channel is available.
*/
@CanIgnoreReturnValue
Channel getChannel();
Expand Down

0 comments on commit 38b0a3a

Please sign in to comment.