Class GcpManagedChannelOptions.GcpChannelPoolOptions (1.11.0)

public static class GcpManagedChannelOptions.GcpChannelPoolOptions

Channel pool configuration for the GCP managed channel.

Inheritance

java.lang.Object > GcpManagedChannelOptions.GcpChannelPoolOptions

Static Methods

newBuilder()

public static GcpManagedChannelOptions.GcpChannelPoolOptions.Builder newBuilder()

Creates a new GcpChannelPoolOptions.Builder.

Returns
Type Description
GcpManagedChannelOptions.GcpChannelPoolOptions.Builder

newBuilder(GcpManagedChannelOptions.GcpChannelPoolOptions options)

public static GcpManagedChannelOptions.GcpChannelPoolOptions.Builder newBuilder(GcpManagedChannelOptions.GcpChannelPoolOptions options)

Creates a new GcpChannelPoolOptions.Builder from GcpChannelPoolOptions.

Parameter
Name Description
options GcpManagedChannelOptions.GcpChannelPoolOptions
Returns
Type Description
GcpManagedChannelOptions.GcpChannelPoolOptions.Builder

Constructors

GcpChannelPoolOptions(GcpManagedChannelOptions.GcpChannelPoolOptions.Builder builder)

public GcpChannelPoolOptions(GcpManagedChannelOptions.GcpChannelPoolOptions.Builder builder)
Parameter
Name Description
builder GcpManagedChannelOptions.GcpChannelPoolOptions.Builder

Methods

getAffinityKeyLifetime()

public Duration getAffinityKeyLifetime()
Returns
Type Description
Duration

getChannelPickStrategy()

public GcpManagedChannelOptions.ChannelPickStrategy getChannelPickStrategy()
Returns
Type Description
GcpManagedChannelOptions.ChannelPickStrategy

getCleanupInterval()

public Duration getCleanupInterval()
Returns
Type Description
Duration

getConcurrentStreamsLowWatermark()

public int getConcurrentStreamsLowWatermark()
Returns
Type Description
int

getInitSize()

public int getInitSize()
Returns
Type Description
int

getMaxRpcPerChannel()

public int getMaxRpcPerChannel()
Returns
Type Description
int

getMaxSize()

public int getMaxSize()
Returns
Type Description
int

getMinRpcPerChannel()

public int getMinRpcPerChannel()
Returns
Type Description
int

getMinSize()

public int getMinSize()
Returns
Type Description
int

getScaleDownInterval()

public Duration getScaleDownInterval()
Returns
Type Description
Duration

isUseRoundRobinOnBind()

public boolean isUseRoundRobinOnBind()
Returns
Type Description
boolean

toString()

public String toString()
Returns
Type Description
String
Overrides