Class GcpManagedChannelOptions.GcpChannelPoolOptions (1.17.0)
1.17.0 (latest)
1.13.0
1.12.0
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 ()
getChannelPrimeMaxAttempts()
public int getChannelPrimeMaxAttempts ()
Returns
Type
Description
int
getChannelPrimeTimeout()
public Duration getChannelPrimeTimeout ()
getChannelPrimer()
public GcpChannelPrimer getChannelPrimer ()
getCleanupInterval()
public Duration getCleanupInterval ()
getConcurrentStreamsLowWatermark()
public int getConcurrentStreamsLowWatermark ()
Returns
Type
Description
int
getDrainIdleGrace()
public Duration getDrainIdleGrace ()
getErrorPenaltyDuration()
public Duration getErrorPenaltyDuration ()
getErrorPenaltyStep()
public int getErrorPenaltyStep ()
Returns
Type
Description
int
getInitSize()
Returns
Type
Description
int
getMaxRpcPerChannel()
public int getMaxRpcPerChannel ()
Returns
Type
Description
int
getMaxScaleDownChannels()
public int getMaxScaleDownChannels ()
Returns
Type
Description
int
getMaxScaleUpPercent()
public int getMaxScaleUpPercent ()
Returns
Type
Description
int
getMaxSize()
Returns
Type
Description
int
getMinRpcPerChannel()
public int getMinRpcPerChannel ()
Returns
Type
Description
int
getMinSize()
Returns
Type
Description
int
getScaleDownConsecutiveLowLoadChecks()
public int getScaleDownConsecutiveLowLoadChecks ()
Returns
Type
Description
int
getScaleDownInterval()
public Duration getScaleDownInterval ()
getScaleUpCooldown()
public Duration getScaleUpCooldown ()
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-10-05 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-10-05 UTC."],[],[]]