public class DisposableManagedChannel
extends io.grpc.ManagedChannel
implements org.springframework.beans.factory.DisposableBean
| 构造器和说明 |
|---|
DisposableManagedChannel(io.grpc.ManagedChannel channel) |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
authority() |
boolean |
awaitTermination(long l,
TimeUnit timeUnit) |
void |
destroy() |
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 <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.Channelpublic void destroy()
throws Exception
destroy 在接口中 org.springframework.beans.factory.DisposableBeanExceptionpublic 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 l,
TimeUnit timeUnit)
throws InterruptedException
awaitTermination 在类中 io.grpc.ManagedChannelInterruptedExceptionCopyright © 2019 Nity. All rights reserved.