Package | Description |
---|---|
io.grpc |
The gRPC core public API.
|
io.grpc.util |
Utilities with advanced features in the core layer that user can optionally use.
|
Modifier and Type | Method and Description |
---|---|
LoadBalancer.Subchannel |
LoadBalancer.Helper.createSubchannel(LoadBalancer.CreateSubchannelArgs args)
Creates a Subchannel, which is a logical connection to the given group of addresses which are
considered equivalent.
|
LoadBalancer.Subchannel |
LoadBalancer.PickResult.getSubchannel()
The Subchannel if this result was created by
withSubchannel() , or
null otherwise. |
Modifier and Type | Method and Description |
---|---|
void |
LoadBalancer.handleSubchannelState(LoadBalancer.Subchannel subchannel,
ConnectivityStateInfo stateInfo)
Deprecated.
This method will be removed. Stop overriding it. Instead, pass
LoadBalancer.SubchannelStateListener to start(io.grpc.LoadBalancer.SubchannelStateListener) to receive Subchannel state
updates |
static LoadBalancer.PickResult |
LoadBalancer.PickResult.withSubchannel(LoadBalancer.Subchannel subchannel)
Equivalent to
withSubchannel(subchannel, null) . |
static LoadBalancer.PickResult |
LoadBalancer.PickResult.withSubchannel(LoadBalancer.Subchannel subchannel,
ClientStreamTracer.Factory streamTracerFactory)
A decision to proceed the RPC on a Subchannel.
|
Modifier and Type | Class and Description |
---|---|
class |
ForwardingSubchannel |
Modifier and Type | Method and Description |
---|---|
LoadBalancer.Subchannel |
ForwardingLoadBalancerHelper.createSubchannel(LoadBalancer.CreateSubchannelArgs args) |
protected abstract LoadBalancer.Subchannel |
ForwardingSubchannel.delegate()
Returns the underlying Subchannel.
|
Modifier and Type | Method and Description |
---|---|
void |
ForwardingLoadBalancer.handleSubchannelState(LoadBalancer.Subchannel subchannel,
ConnectivityStateInfo stateInfo)
Deprecated.
|
void |
GracefulSwitchLoadBalancer.handleSubchannelState(LoadBalancer.Subchannel subchannel,
ConnectivityStateInfo stateInfo)
Deprecated.
|