Package com.google.cloud.grpc
Class GcpManagedChannelOptions.GcpChannelPoolOptions
java.lang.Object
com.google.cloud.grpc.GcpManagedChannelOptions.GcpChannelPoolOptions
- Enclosing class:
- GcpManagedChannelOptions
Channel pool configuration for the GCP managed channel.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionintintintintintintintintintintintbooleanCreates a new GcpChannelPoolOptions.Builder.Creates a new GcpChannelPoolOptions.Builder from GcpChannelPoolOptions.toString()
-
Constructor Details
-
GcpChannelPoolOptions
-
-
Method Details
-
getMaxSize
public int getMaxSize() -
getMinSize
public int getMinSize() -
getInitSize
public int getInitSize() -
getMinRpcPerChannel
public int getMinRpcPerChannel() -
getMaxRpcPerChannel
public int getMaxRpcPerChannel() -
getScaleDownInterval
-
getScaleUpCooldown
-
getScaleDownConsecutiveLowLoadChecks
public int getScaleDownConsecutiveLowLoadChecks() -
getMaxScaleUpPercent
public int getMaxScaleUpPercent() -
getMaxScaleDownChannels
public int getMaxScaleDownChannels() -
getDrainIdleGrace
-
getErrorPenaltyStep
public int getErrorPenaltyStep() -
getErrorPenaltyDuration
-
getChannelPrimer
-
getChannelPrimeTimeout
-
getChannelPrimeMaxAttempts
public int getChannelPrimeMaxAttempts() -
getConcurrentStreamsLowWatermark
public int getConcurrentStreamsLowWatermark() -
isUseRoundRobinOnBind
public boolean isUseRoundRobinOnBind() -
getAffinityKeyLifetime
-
getCleanupInterval
-
getChannelPickStrategy
-
newBuilder
Creates a new GcpChannelPoolOptions.Builder. -
newBuilder
public static GcpManagedChannelOptions.GcpChannelPoolOptions.Builder newBuilder(GcpManagedChannelOptions.GcpChannelPoolOptions options) Creates a new GcpChannelPoolOptions.Builder from GcpChannelPoolOptions. -
toString
-