Class GcpManagedChannelOptions.GcpChannelPoolOptions (1.11.0)
public static class GcpManagedChannelOptions.GcpChannelPoolOptions
Channel pool configuration for the GCP managed channel.
Static Methods
newBuilder()
public static GcpManagedChannelOptions.GcpChannelPoolOptions.Builder newBuilder()
Creates a new GcpChannelPoolOptions.Builder.
newBuilder(GcpManagedChannelOptions.GcpChannelPoolOptions options)
public static GcpManagedChannelOptions.GcpChannelPoolOptions.Builder newBuilder(GcpManagedChannelOptions.GcpChannelPoolOptions options)
Creates a new GcpChannelPoolOptions.Builder from GcpChannelPoolOptions.
Constructors
GcpChannelPoolOptions(GcpManagedChannelOptions.GcpChannelPoolOptions.Builder builder)
public GcpChannelPoolOptions(GcpManagedChannelOptions.GcpChannelPoolOptions.Builder builder)
Methods
getAffinityKeyLifetime()
public Duration getAffinityKeyLifetime()
getChannelPickStrategy()
public GcpManagedChannelOptions.ChannelPickStrategy getChannelPickStrategy()
getCleanupInterval()
public Duration getCleanupInterval()
getConcurrentStreamsLowWatermark()
public int getConcurrentStreamsLowWatermark()
| Returns |
| Type |
Description |
int |
|
getInitSize()
| Returns |
| Type |
Description |
int |
|
getMaxRpcPerChannel()
public int getMaxRpcPerChannel()
| Returns |
| Type |
Description |
int |
|
getMaxSize()
| Returns |
| Type |
Description |
int |
|
getMinRpcPerChannel()
public int getMinRpcPerChannel()
| Returns |
| Type |
Description |
int |
|
getMinSize()
| Returns |
| Type |
Description |
int |
|
getScaleDownInterval()
public Duration getScaleDownInterval()
isUseRoundRobinOnBind()
public boolean isUseRoundRobinOnBind()
toString()
| Returns |
| Type |
Description |
String |
|
Overrides
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-06-19 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-06-19 UTC."],[],[]]