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 TypeMethodDescriptionintintintintintintbooleanCreates 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
-
getConcurrentStreamsLowWatermark
public int getConcurrentStreamsLowWatermark() -
isUseRoundRobinOnBind
public boolean isUseRoundRobinOnBind() -
getAffinityKeyLifetime
-
getCleanupInterval
-
newBuilder
Creates a new GcpChannelPoolOptions.Builder. -
newBuilder
public static GcpManagedChannelOptions.GcpChannelPoolOptions.Builder newBuilder(GcpManagedChannelOptions.GcpChannelPoolOptions options) Creates a new GcpChannelPoolOptions.Builder from GcpChannelPoolOptions. -
toString
-