Grpc.Net.Client.Balancer
Namespace with 30 public types
Classes
BalancerAddress
Represents a balancer address.
Note: Experimental API that can change or be removed without any prior notice.
BalancerAttributes
Collection of load balancing metadata attributes.
Note: Experimental API that can change or be removed without any prior notice.
BalancerState
Represents the balancer state.
Note: Experimental API that can change or be removed without any prior notice.
ChannelState
Represents the state for a channel. This is created from results returned by a .
Note: Experimental API that can change or be removed without any prior notice.
CompletionContext
Context used to signal a call is complete.
Note: Experimental API that can change or be removed without any prior notice.
DnsResolverFactory
A that matches the URI scheme dns
and creates instances.
Note: Experimental API that can change or be removed without any prior notice.
LoadBalancerOptions
Options for creating a .
PickContext
Context used to pick a .
Note: Experimental API that can change or be removed without any prior notice.
PickFirstBalancerFactory
A that matches the name pick_first
and creates instances.
Note: Experimental API that can change or be removed without any prior notice.
PickResult
A balancing decision made by a for a gRPC call.
Note: Experimental API that can change or be removed without any prior notice.
ResolverOptions
Options for creating a resolver.
Note: Experimental API that can change or be removed without any prior notice.
ResolverResult
Represents the results from a .
Note: Experimental API that can change or be removed without any prior notice.
RoundRobinBalancerFactory
A that matches the name round_robin
and creates instances.
Note: Experimental API that can change or be removed without any prior notice.
StaticResolverFactory
A that matches the URI scheme static
and creates instances.
Note: Experimental API that can change or be removed without any prior notice.
Subchannel
Represents a logical connection. A subchannel is created with one or more addresses to equivalent servers.
A subchannel maintains at most one physical connection (aka transport) for sending new gRPC calls.
If there isn't an active transport, and a call is assigned to the subchannel, it will create
a new transport. A transport won't be created otherwise unless
is called to create a transport if there isn't any.
Note: Experimental API that can change or be removed without any prior notice.
SubchannelOptions
Represents options used to create .
Note: Experimental API that can change or be removed without any prior notice.
SubchannelState
Represents subchannel state.
Note: Experimental API that can change or be removed without any prior notice.
Structures
BalancerAttributesKey`1
Represents the key used to get and set values.
Note: Experimental API that can change or be removed without any prior notice.
Enumerations
PickResultType
The type.
Note: Experimental API that can change or be removed without any prior notice.
Abstract Classes
LoadBalancer
A configurable component that receives resolved addresses from and provides a usable
when asked.
A new load balancer implements:
creates new instances.
receives results from the , subchannels'
connectivity states, and requests to create a connection and shutdown.
creates instances from resolve results using
, and updates the channel state with a
and .
makes a load balancing decision.
Note: Experimental API that can change or be removed without any prior notice.
LoadBalancerFactory
Factory for creating new instances. A factory is used when the load balancer config name
matches the factory name.
Note: Experimental API that can change or be removed without any prior notice.
PollingResolver
An abstract base type for implementations that use asynchronous polling logic to resolve the .
adds a virtual method. The resolver runs one asynchronous
resolve task at a time. Calling on the resolver when a resolve task is already running has
no effect.
Note: Experimental API that can change or be removed without any prior notice.
Resolver
A configurable component that resolves a target and returns them to the caller.
The targets URI's scheme is used to select the implementation, and uses the
URI parts after the scheme for actual resolution.
The addresses of a target may change over time, thus the caller registers a callback to receive
continuous updates as .
A doesn't need to automatically re-resolve on failure. Instead, the callback
is responsible for eventually invoking .
Note: Experimental API that can change or be removed without any prior notice.
ResolverFactory
Factory for creating new instances. A factory is used when the
target address scheme matches the factory name.
Note: Experimental API that can change or be removed without any prior notice.
SubchannelPicker
Base type for picking a subchannel. A is responsible for picking
a ready that gRPC calls will use.
Load balancers implement with their own balancing logic to
determine which subchannel is returned for a call.
Note: Experimental API that can change or be removed without any prior notice.
SubchannelsLoadBalancer
An abstract that manages creating instances
from addresses. It is designed to make it easy to implement a custom picking policy by overriding
and returning a custom .
Note: Experimental API that can change or be removed without any prior notice.
Interfaces
IBackoffPolicy
An interface for specifying backoff duration.
Note: Experimental API that can change or be removed without any prior notice.
IBackoffPolicyFactory
A factory for creating instances.
Note: Experimental API that can change or be removed without any prior notice.
IChannelControlHelper
Provides essentials for implementations.
Note: Experimental API that can change or be removed without any prior notice.
ISubchannelCallTracker
An interface for tracking subchannel calls.
Note: Experimental API that can change or be removed without any prior notice.