public class ReferenceCountManagedChannel
extends io.grpc.ManagedChannel
| Constructor and Description |
|---|
ReferenceCountManagedChannel(io.grpc.ManagedChannel delegated) |
| Modifier and Type | Method and Description |
|---|---|
String |
authority() |
boolean |
awaitTermination(long timeout,
TimeUnit unit) |
void |
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 void incrementAndGetCount()
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.ChannelCopyright © 2011–2020 The Apache Software Foundation. All rights reserved.