Package | Description |
---|---|
io.grpc |
The gRPC core public API.
|
io.grpc.testing |
API that is useful for testing gRPC.
|
io.grpc.util |
Utilities with advanced features in the core layer that user can optionally use.
|
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.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) . |
Modifier and Type | Method and Description |
---|---|
<T extends ManagedChannel> |
GrpcCleanupRule.register(T channel)
Registers the given channel to the rule.
|
Modifier and Type | Method and Description |
---|---|
ManagedChannel |
GrpcServerRule.getChannel()
Returns a
ManagedChannel connected to this service. |
Modifier and Type | Method and Description |
---|---|
ManagedChannel |
ForwardingLoadBalancerHelper.createOobChannel(EquivalentAddressGroup eag,
String authority) |
ManagedChannel |
ForwardingLoadBalancerHelper.createResolvingOobChannel(String target) |
Modifier and Type | Method and Description |
---|---|
void |
ForwardingLoadBalancerHelper.updateOobChannelAddresses(ManagedChannel channel,
EquivalentAddressGroup eag) |