Interface ChannelPoolConfigOrBuilder (1.11.0)

public interface ChannelPoolConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getIdleTimeout() (deprecated)

public abstract long getIdleTimeout()

The idle timeout (seconds) of channels without bound affinity sessions.

uint64 idle_timeout = 2;

Returns
Type Description
long

The idleTimeout.

getMaxConcurrentStreamsLowWatermark() (deprecated)

public abstract int getMaxConcurrentStreamsLowWatermark()

The low watermark of max number of concurrent streams in a channel. New channel will be created once it get hit, until we reach the max size of the channel pool. Values outside of [0..100] will be ignored. 0 = always create a new channel until max size is reached.

uint32 max_concurrent_streams_low_watermark = 3;

Returns
Type Description
int

The maxConcurrentStreamsLowWatermark.

getMaxSize() (deprecated)

public abstract int getMaxSize()

The max number of channels in the pool.

uint32 max_size = 1;

Returns
Type Description
int

The maxSize.