Package com.google.cloud.grpc.proto
Interface ChannelPoolConfigOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ChannelPoolConfig,ChannelPoolConfig.Builder
@Deprecated
public interface ChannelPoolConfigOrBuilder
extends com.google.protobuf.MessageOrBuilder
Deprecated.
-
Method Summary
Modifier and TypeMethodDescriptionlongDeprecated.The idle timeout (seconds) of channels without bound affinity sessions.intDeprecated.The low watermark of max number of concurrent streams in a channel.intDeprecated.The max number of channels in the pool.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getMaxSize
int getMaxSize()Deprecated.The max number of channels in the pool.
uint32 max_size = 1;- Returns:
- The maxSize.
-
getIdleTimeout
long getIdleTimeout()Deprecated.The idle timeout (seconds) of channels without bound affinity sessions.
uint64 idle_timeout = 2;- Returns:
- The idleTimeout.
-
getMaxConcurrentStreamsLowWatermark
int getMaxConcurrentStreamsLowWatermark()Deprecated.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:
- The maxConcurrentStreamsLowWatermark.
-