Class GcpFallbackChannel (1.11.0)
public class GcpFallbackChannel extends ManagedChannel
Inheritance
java.lang.Object >
io.grpc.Channel >
io.grpc.ManagedChannel >
GcpFallbackChannel
Inherited Members
io.grpc.Channel.<RequestT,ResponseT>newCall(io.grpc.MethodDescriptor<RequestT,ResponseT>,io.grpc.CallOptions)
io.grpc.Channel.authority()
io.grpc.ManagedChannel.awaitTermination(long,java.util.concurrent.TimeUnit)
io.grpc.ManagedChannel.enterIdle()
io.grpc.ManagedChannel.getState(boolean)
io.grpc.ManagedChannel.isShutdown()
io.grpc.ManagedChannel.isTerminated()
io.grpc.ManagedChannel.notifyWhenStateChanged(io.grpc.ConnectivityState,java.lang.Runnable)
io.grpc.ManagedChannel.resetConnectBackoff()
io.grpc.ManagedChannel.shutdown()
io.grpc.ManagedChannel.shutdownNow()
Constructors
GcpFallbackChannel(GcpFallbackChannelOptions options, ManagedChannel primaryChannel, ManagedChannel fallbackChannel)
public GcpFallbackChannel(GcpFallbackChannelOptions options, ManagedChannel primaryChannel, ManagedChannel fallbackChannel)
| Parameters |
| Name |
Description |
options |
GcpFallbackChannelOptions
|
primaryChannel |
io.grpc.ManagedChannel
|
fallbackChannel |
io.grpc.ManagedChannel
|
GcpFallbackChannel(GcpFallbackChannelOptions options, ManagedChannelBuilder<?> primaryChannelBuilder, ManagedChannelBuilder<?> fallbackChannelBuilder)
public GcpFallbackChannel(GcpFallbackChannelOptions options, ManagedChannelBuilder<?> primaryChannelBuilder, ManagedChannelBuilder<?> fallbackChannelBuilder)
| Parameters |
| Name |
Description |
options |
GcpFallbackChannelOptions
|
primaryChannelBuilder |
io.grpc.ManagedChannelBuilder<?>
|
fallbackChannelBuilder |
io.grpc.ManagedChannelBuilder<?>
|
Methods
<RequestT,ResponseT>newCall(MethodDescriptor<RequestT,ResponseT> methodDescriptor, CallOptions callOptions)
public ClientCall<RequestT,ResponseT> <RequestT,ResponseT>newCall(MethodDescriptor<RequestT,ResponseT> methodDescriptor, CallOptions callOptions)
| Parameters |
| Name |
Description |
methodDescriptor |
io.grpc.MethodDescriptor<RequestT,ResponseT>
|
callOptions |
io.grpc.CallOptions
|
| Returns |
| Type |
Description |
io.grpc.ClientCall<RequestT,ResponseT> |
|
Overrides
io.grpc.Channel.<RequestT,ResponseT>newCall(io.grpc.MethodDescriptor<RequestT,ResponseT>,io.grpc.CallOptions)
authority()
public String authority()
| Returns |
| Type |
Description |
String |
|
Overrides
io.grpc.Channel.authority()
awaitTermination(long timeout, TimeUnit unit)
public boolean awaitTermination(long timeout, TimeUnit unit)
Overrides
io.grpc.ManagedChannel.awaitTermination(long,java.util.concurrent.TimeUnit)
isInFallbackMode()
public boolean isInFallbackMode()
isShutdown()
public boolean isShutdown()
Overrides
io.grpc.ManagedChannel.isShutdown()
isTerminated()
public boolean isTerminated()
Overrides
io.grpc.ManagedChannel.isTerminated()
shutdown()
public ManagedChannel shutdown()
| Returns |
| Type |
Description |
io.grpc.ManagedChannel |
|
Overrides
io.grpc.ManagedChannel.shutdown()
shutdownNow()
public ManagedChannel shutdownNow()
| Returns |
| Type |
Description |
io.grpc.ManagedChannel |
|
Overrides
io.grpc.ManagedChannel.shutdownNow()
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-06-19 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-06-19 UTC."],[],[]]