Send feedback
Class GcpManagedChannelOptions.GcpChannelPoolOptions (1.11.0)
Stay organized with collections
Save and categorize content based on your preferences.
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
Send feedback
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.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-06-19 UTC."],[],[]]