public sealed class SessionClientConfiguration.Types.ChannelPoolConfiguration.Types.DirectAccessWithFallback : IMessage<SessionClientConfiguration.Types.ChannelPoolConfiguration.Types.DirectAccessWithFallback>, IEquatable<SessionClientConfiguration.Types.ChannelPoolConfiguration.Types.DirectAccessWithFallback>, IDeepCloneable<SessionClientConfiguration.Types.ChannelPoolConfiguration.Types.DirectAccessWithFallback>, IBufferMessage, IMessageReference documentation and code samples for the Google Bigtable v2 API class SessionClientConfiguration.Types.ChannelPoolConfiguration.Types.DirectAccessWithFallback.
A channel mode which allows DirectAccess with a fallback to CloudPath if DirectAccess is unavailable.
Inheritance
object > SessionClientConfiguration.Types.ChannelPoolConfiguration.Types.DirectAccessWithFallbackImplements
IMessageSessionClientConfigurationTypesChannelPoolConfigurationTypesDirectAccessWithFallback, IEquatableSessionClientConfigurationTypesChannelPoolConfigurationTypesDirectAccessWithFallback, IDeepCloneableSessionClientConfigurationTypesChannelPoolConfigurationTypesDirectAccessWithFallback, IBufferMessage, IMessageNamespace
Google.Cloud.Bigtable.V2Assembly
Google.Cloud.Bigtable.V2.dll
Constructors
DirectAccessWithFallback()
public DirectAccessWithFallback()DirectAccessWithFallback(DirectAccessWithFallback)
public DirectAccessWithFallback(SessionClientConfiguration.Types.ChannelPoolConfiguration.Types.DirectAccessWithFallback other)| Parameter | |
|---|---|
| Name | Description |
other |
SessionClientConfigurationTypesChannelPoolConfigurationTypesDirectAccessWithFallback |
Properties
CheckInterval
public Duration CheckInterval { get; set; }The interval to check the error rate over.
| Property Value | |
|---|---|
| Type | Description |
Duration |
|
ErrorRateThreshold
public float ErrorRateThreshold { get; set; }The threshold for errors on DirectAccess to trigger CloudPath fallback. The error rate is calculated based on a count of vRPCs with errors divided by a total count of vRPCs, over a rolling window of the past check_interval. If this ratio exceeds this threshold, the fallback to CloudPath is triggered. [0, 1].
| Property Value | |
|---|---|
| Type | Description |
float |
|