Skip to content

Commit 9812585

Browse files
lqiu96JoeWang1127
andcommitted
feat: Add ChannelPoolSettings Getter for gRPC's ChannelProvider (#2612)
Fixes #2610 ☕️ --------- Co-authored-by: Joe Wang <[email protected]>
1 parent 8d6061b commit 9812585

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

gax-java/gax-grpc/src/main/java/com/google/api/gax/grpc/InstantiatingGrpcChannelProvider.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -488,6 +488,12 @@ public Integer getMaxInboundMetadataSize() {
488488
return maxInboundMetadataSize;
489489
}
490490

491+
/** The configured channel pool settings used for gRPC's ChannelProvider */
492+
@BetaApi("Channel pool sizing api is not yet stable")
493+
public ChannelPoolSettings getChannelPoolSettings() {
494+
return channelPoolSettings;
495+
}
496+
491497
@Override
492498
public boolean shouldAutoClose() {
493499
return true;

0 commit comments

Comments
 (0)