Modifier and Type | Method and Description |
---|---|
abstract ManagedChannel |
ManagedChannelBuilder.build()
Builds a channel using the given parameters.
|
ManagedChannel |
ForwardingChannelBuilder.build()
Returns the
ManagedChannel built by the delegate by default. |
abstract ManagedChannel |
LoadBalancer.Helper.createOobChannel(EquivalentAddressGroup eag,
String authority)
Out-of-band channel for LoadBalancer’s own RPC needs, e.g., talking to an external
load-balancer service.
|
ManagedChannel |
LoadBalancer.Helper.createOobChannel(List<EquivalentAddressGroup> eag,
String authority)
Accept a list of EAG for multiple authorities: https://github.com/grpc/grpc-java/issues/4618
|
ManagedChannel |
LoadBalancer.Helper.createResolvingOobChannel(String target)
Creates an out-of-band channel for LoadBalancer's own RPC needs, e.g., talking to an external
load-balancer service, that is specified by a target string.
|
abstract ManagedChannel |
ManagedChannel.shutdown()
Initiates an orderly shutdown in which preexisting calls continue but new calls are immediately
cancelled.
|
abstract ManagedChannel |
ManagedChannel.shutdownNow()
Initiates a forceful shutdown in which preexisting and new calls are cancelled.
|
Modifier and Type | Method and Description |
---|---|
void |
LoadBalancer.Helper.updateOobChannelAddresses(ManagedChannel channel,
EquivalentAddressGroup eag)
Updates the addresses used for connections in the
Channel that was created by LoadBalancer.Helper.createOobChannel(EquivalentAddressGroup, String) . |
void |
LoadBalancer.Helper.updateOobChannelAddresses(ManagedChannel channel,
List<EquivalentAddressGroup> eag)
Updates the addresses with a new EAG list.
|