Cloud Bigtable V2 API - Class Google::Cloud::Bigtable::V2::SessionClientConfiguration::ChannelPoolConfiguration (v1.13.0)

Reference documentation and code samples for the Cloud Bigtable V2 API class Google::Cloud::Bigtable::V2::SessionClientConfiguration::ChannelPoolConfiguration.

Configuration for the channel pool.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#cloud_path_only

def cloud_path_only() -> ::Google::Cloud::Bigtable::V2::SessionClientConfiguration::ChannelPoolConfiguration::CloudPathOnly
Returns

#cloud_path_only=

def cloud_path_only=(value) -> ::Google::Cloud::Bigtable::V2::SessionClientConfiguration::ChannelPoolConfiguration::CloudPathOnly
Parameter
Returns

#direct_access_only

def direct_access_only() -> ::Google::Cloud::Bigtable::V2::SessionClientConfiguration::ChannelPoolConfiguration::DirectAccessOnly
Returns

#direct_access_only=

def direct_access_only=(value) -> ::Google::Cloud::Bigtable::V2::SessionClientConfiguration::ChannelPoolConfiguration::DirectAccessOnly
Parameter
Returns

#direct_access_with_fallback

def direct_access_with_fallback() -> ::Google::Cloud::Bigtable::V2::SessionClientConfiguration::ChannelPoolConfiguration::DirectAccessWithFallback
Returns

#direct_access_with_fallback=

def direct_access_with_fallback=(value) -> ::Google::Cloud::Bigtable::V2::SessionClientConfiguration::ChannelPoolConfiguration::DirectAccessWithFallback
Parameter
Returns

#max_server_count

def max_server_count() -> ::Integer
Returns
  • (::Integer) — The maximum number of distinct servers to connect to in the channel pool. The client will ensure that the channel pool will have at most this many distinct servers.

#max_server_count=

def max_server_count=(value) -> ::Integer
Parameter
  • value (::Integer) — The maximum number of distinct servers to connect to in the channel pool. The client will ensure that the channel pool will have at most this many distinct servers.
Returns
  • (::Integer) — The maximum number of distinct servers to connect to in the channel pool. The client will ensure that the channel pool will have at most this many distinct servers.

#min_server_count

def min_server_count() -> ::Integer
Returns
  • (::Integer) — The minimum number of distcint servers to connect to in the channel pool. The client will ensure that the channel pool will have at least this many distinct servers, but may have multiple channels connected to the same server (e.g. the client may have M channels on N machines, where M > N).

#min_server_count=

def min_server_count=(value) -> ::Integer
Parameter
  • value (::Integer) — The minimum number of distcint servers to connect to in the channel pool. The client will ensure that the channel pool will have at least this many distinct servers, but may have multiple channels connected to the same server (e.g. the client may have M channels on N machines, where M > N).
Returns
  • (::Integer) — The minimum number of distcint servers to connect to in the channel pool. The client will ensure that the channel pool will have at least this many distinct servers, but may have multiple channels connected to the same server (e.g. the client may have M channels on N machines, where M > N).

#per_server_session_count

def per_server_session_count() -> ::Integer
Returns
  • (::Integer) — Soft maximum for how many sessions are allowed per server. Normally, the client will ensure that it does not host more than this count of sessions per server, unless there are other limits encountered (e.g. the connected servers is already at max_servers).

#per_server_session_count=

def per_server_session_count=(value) -> ::Integer
Parameter
  • value (::Integer) — Soft maximum for how many sessions are allowed per server. Normally, the client will ensure that it does not host more than this count of sessions per server, unless there are other limits encountered (e.g. the connected servers is already at max_servers).
Returns
  • (::Integer) — Soft maximum for how many sessions are allowed per server. Normally, the client will ensure that it does not host more than this count of sessions per server, unless there are other limits encountered (e.g. the connected servers is already at max_servers).