public class ReferenceCountManagedChannel
extends io.grpc.ManagedChannel
| 构造器和说明 |
|---|
ReferenceCountManagedChannel(io.grpc.ManagedChannel delegated) |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
authority() |
boolean |
awaitTermination(long timeout,
TimeUnit unit) |
int |
incrementAndGetCount()
The reference count of current ExchangeClient, connection will be closed if all invokers destroyed.
|
boolean |
isShutdown() |
boolean |
isTerminated() |
<RequestT,ResponseT> |
newCall(io.grpc.MethodDescriptor<RequestT,ResponseT> methodDescriptor,
io.grpc.CallOptions callOptions) |
io.grpc.ManagedChannel |
shutdown() |
io.grpc.ManagedChannel |
shutdownNow() |
public ReferenceCountManagedChannel(io.grpc.ManagedChannel delegated)
public int incrementAndGetCount()
public io.grpc.ManagedChannel shutdown()
shutdown 在类中 io.grpc.ManagedChannelpublic boolean isShutdown()
isShutdown 在类中 io.grpc.ManagedChannelpublic boolean isTerminated()
isTerminated 在类中 io.grpc.ManagedChannelpublic io.grpc.ManagedChannel shutdownNow()
shutdownNow 在类中 io.grpc.ManagedChannelpublic boolean awaitTermination(long timeout,
TimeUnit unit)
throws InterruptedException
awaitTermination 在类中 io.grpc.ManagedChannelInterruptedExceptionpublic <RequestT,ResponseT> io.grpc.ClientCall<RequestT,ResponseT> newCall(io.grpc.MethodDescriptor<RequestT,ResponseT> methodDescriptor,
io.grpc.CallOptions callOptions)
newCall 在类中 io.grpc.Channelpublic String authority()
authority 在类中 io.grpc.ChannelCopyright © 2011–2021 The Apache Software Foundation. All rights reserved.