Uses of Class
com.google.cloud.grpc.GcpManagedChannelOptions.GcpChannelPoolOptions.Builder
Packages that use GcpManagedChannelOptions.GcpChannelPoolOptions.Builder
-
Uses of GcpManagedChannelOptions.GcpChannelPoolOptions.Builder in com.google.cloud.grpc
Methods in com.google.cloud.grpc that return GcpManagedChannelOptions.GcpChannelPoolOptions.BuilderModifier and TypeMethodDescriptionGcpManagedChannelOptions.GcpChannelPoolOptions.Builder.disableDynamicScaling()Disables dynamic scaling functionality.GcpManagedChannelOptions.GcpChannelPoolOptions.newBuilder()Creates a new GcpChannelPoolOptions.Builder.GcpManagedChannelOptions.GcpChannelPoolOptions.newBuilder(GcpManagedChannelOptions.GcpChannelPoolOptions options) Creates a new GcpChannelPoolOptions.Builder from GcpChannelPoolOptions.GcpManagedChannelOptions.GcpChannelPoolOptions.Builder.setAffinityKeyLifetime(Duration affinityKeyLifetime) How long to keep an affinity key after its last use.GcpManagedChannelOptions.GcpChannelPoolOptions.Builder.setChannelPickStrategy(GcpManagedChannelOptions.ChannelPickStrategy strategy) Sets the strategy for picking the least busy channel from the pool.GcpManagedChannelOptions.GcpChannelPoolOptions.Builder.setChannelPrimeMaxAttempts(int channelPrimeMaxAttempts) Sets the maximum number of attempts to prime one scaled-up channel.GcpManagedChannelOptions.GcpChannelPoolOptions.Builder.setChannelPrimer(GcpChannelPrimer channelPrimer) Sets the optional hook that primes newly built scale-up channels concurrently.GcpManagedChannelOptions.GcpChannelPoolOptions.Builder.setChannelPrimeTimeout(Duration channelPrimeTimeout) Sets the maximum time allowed for each channel-primer attempt, including the synchronous call to the primer.GcpManagedChannelOptions.GcpChannelPoolOptions.Builder.setCleanupInterval(Duration cleanupInterval) How frequently affinity key cleanup process should run.GcpManagedChannelOptions.GcpChannelPoolOptions.Builder.setConcurrentStreamsLowWatermark(int concurrentStreamsLowWatermark) Sets the concurrent streams low watermark.GcpManagedChannelOptions.GcpChannelPoolOptions.Builder.setDrainIdleGrace(Duration drainIdleGrace) Sets how long an idle draining channel remains open for sticky affinity references and in-flight calls before its delegate closes.GcpManagedChannelOptions.GcpChannelPoolOptions.Builder.setDynamicScaling(int minRpcPerChannel, int maxRpcPerChannel, Duration scaleDownInterval) Enables dynamic scaling functionality.GcpManagedChannelOptions.GcpChannelPoolOptions.Builder.setErrorPenaltyDuration(Duration errorPenaltyDuration) Sets how long an applied penalty takes to decay linearly to zero.GcpManagedChannelOptions.GcpChannelPoolOptions.Builder.setErrorPenaltyStep(int errorPenaltyStep) Sets the load penalty added after each retryable channel error.GcpManagedChannelOptions.GcpChannelPoolOptions.Builder.setInitSize(int initSize) Sets the initial channel pool size.GcpManagedChannelOptions.GcpChannelPoolOptions.Builder.setMaxScaleDownChannels(int channels) GcpManagedChannelOptions.GcpChannelPoolOptions.Builder.setMaxScaleUpPercent(int percent) Sets the maximum percentage of active channels added by one scale-up operation.GcpManagedChannelOptions.GcpChannelPoolOptions.Builder.setMaxSize(int maxSize) Sets the maximum size of the channel pool.GcpManagedChannelOptions.GcpChannelPoolOptions.Builder.setMinSize(int minSize) Sets the minimum size of the channel pool.GcpManagedChannelOptions.GcpChannelPoolOptions.Builder.setScaleDownConsecutiveLowLoadChecks(int checks) GcpManagedChannelOptions.GcpChannelPoolOptions.Builder.setScaleUpCooldown(Duration scaleUpCooldown) Sets the minimum interval between successful scale-up operations.GcpManagedChannelOptions.GcpChannelPoolOptions.Builder.setUseRoundRobinOnBind(boolean enabled) Enables/disables using round-robin channel selection for affinity binding calls.Constructors in com.google.cloud.grpc with parameters of type GcpManagedChannelOptions.GcpChannelPoolOptions.BuilderModifierConstructorDescription