public class IdChannel
extends io.grpc.ManagedChannel
| Constructor and Description |
|---|
IdChannel(io.grpc.ManagedChannel channel) |
| Modifier and Type | Method and Description |
|---|---|
String |
authority() |
boolean |
awaitTermination(long timeout,
TimeUnit unit) |
void |
enterIdle() |
long |
getChannelId() |
io.grpc.ConnectivityState |
getState(boolean requestConnection) |
boolean |
isShutdown() |
boolean |
isTerminated() |
<RequestT,ResponseT> |
newCall(io.grpc.MethodDescriptor<RequestT,ResponseT> methodDescriptor,
io.grpc.CallOptions callOptions) |
void |
notifyWhenStateChanged(io.grpc.ConnectivityState source,
Runnable callback) |
void |
resetConnectBackoff() |
io.grpc.ManagedChannel |
shutdown() |
io.grpc.ManagedChannel |
shutdownNow() |
String |
toString() |
public long getChannelId()
public io.grpc.ManagedChannel shutdown()
shutdown in class io.grpc.ManagedChannelpublic boolean isShutdown()
isShutdown in class io.grpc.ManagedChannelpublic boolean isTerminated()
isTerminated in class io.grpc.ManagedChannelpublic io.grpc.ManagedChannel shutdownNow()
shutdownNow in class io.grpc.ManagedChannelpublic boolean awaitTermination(long timeout,
TimeUnit unit)
throws InterruptedException
awaitTermination in class io.grpc.ManagedChannelInterruptedExceptionpublic <RequestT,ResponseT> io.grpc.ClientCall<RequestT,ResponseT> newCall(io.grpc.MethodDescriptor<RequestT,ResponseT> methodDescriptor,
io.grpc.CallOptions callOptions)
newCall in class io.grpc.Channelpublic String authority()
authority in class io.grpc.Channelpublic io.grpc.ConnectivityState getState(boolean requestConnection)
getState in class io.grpc.ManagedChannelpublic void notifyWhenStateChanged(io.grpc.ConnectivityState source,
Runnable callback)
notifyWhenStateChanged in class io.grpc.ManagedChannelpublic void resetConnectBackoff()
resetConnectBackoff in class io.grpc.ManagedChannelpublic void enterIdle()
enterIdle in class io.grpc.ManagedChannelCopyright © 2023. All rights reserved.