Class GcpManagedChannelOptions.GcpChannelPoolOptions

java.lang.Object
com.google.cloud.grpc.GcpManagedChannelOptions.GcpChannelPoolOptions
Enclosing class:
GcpManagedChannelOptions

public static class GcpManagedChannelOptions.GcpChannelPoolOptions extends Object
Channel pool configuration for the GCP managed channel.
  • Constructor Details

  • Method Details

    • getMaxSize

      public int getMaxSize()
    • getMinSize

      public int getMinSize()
    • getInitSize

      public int getInitSize()
    • getMinRpcPerChannel

      public int getMinRpcPerChannel()
    • getMaxRpcPerChannel

      public int getMaxRpcPerChannel()
    • getScaleDownInterval

      public Duration getScaleDownInterval()
    • getScaleUpCooldown

      public Duration getScaleUpCooldown()
    • getScaleDownConsecutiveLowLoadChecks

      public int getScaleDownConsecutiveLowLoadChecks()
    • getMaxScaleUpPercent

      public int getMaxScaleUpPercent()
    • getMaxScaleDownChannels

      public int getMaxScaleDownChannels()
    • getDrainIdleGrace

      public Duration getDrainIdleGrace()
    • getErrorPenaltyStep

      public int getErrorPenaltyStep()
    • getErrorPenaltyDuration

      public Duration getErrorPenaltyDuration()
    • getChannelPrimer

      @Nullable public GcpChannelPrimer getChannelPrimer()
    • getChannelPrimeTimeout

      public Duration getChannelPrimeTimeout()
    • getChannelPrimeMaxAttempts

      public int getChannelPrimeMaxAttempts()
    • getConcurrentStreamsLowWatermark

      public int getConcurrentStreamsLowWatermark()
    • isUseRoundRobinOnBind

      public boolean isUseRoundRobinOnBind()
    • getAffinityKeyLifetime

      public Duration getAffinityKeyLifetime()
    • getCleanupInterval

      public Duration getCleanupInterval()
    • getChannelPickStrategy

      public GcpManagedChannelOptions.ChannelPickStrategy getChannelPickStrategy()
    • newBuilder

      Creates a new GcpChannelPoolOptions.Builder.
    • newBuilder

      Creates a new GcpChannelPoolOptions.Builder from GcpChannelPoolOptions.
    • toString

      public String toString()
      Overrides:
      toString in class Object