Skip to content

Commit d0c5191

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

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

+6
Original file line numberDiff line numberDiff line change
@@ -473,6 +473,12 @@ public Integer getMaxInboundMetadataSize() {
473473
return maxInboundMetadataSize;
474474
}
475475

476+
/** The configured channel pool settings used for gRPC's ChannelProvider */
477+
@BetaApi("Channel pool sizing api is not yet stable")
478+
public ChannelPoolSettings getChannelPoolSettings() {
479+
return channelPoolSettings;
480+
}
481+
476482
@Override
477483
public boolean shouldAutoClose() {
478484
return true;

0 commit comments

Comments
 (0)