类 ReferenceCountManagedChannel


  • public class ReferenceCountManagedChannel
    extends io.grpc.ManagedChannel
    Also see ReferenceCountExchangeClient
    • 构造器详细资料

      • ReferenceCountManagedChannel

        public ReferenceCountManagedChannel​(io.grpc.ManagedChannel delegated)
    • 方法详细资料

      • incrementAndGetCount

        public int incrementAndGetCount()
        The reference count of current ExchangeClient, connection will be closed if all invokers destroyed.
      • shutdown

        public io.grpc.ManagedChannel shutdown()
        指定者:
        shutdown 在类中 io.grpc.ManagedChannel
      • isShutdown

        public boolean isShutdown()
        指定者:
        isShutdown 在类中 io.grpc.ManagedChannel
      • isTerminated

        public boolean isTerminated()
        指定者:
        isTerminated 在类中 io.grpc.ManagedChannel
      • shutdownNow

        public io.grpc.ManagedChannel shutdownNow()
        指定者:
        shutdownNow 在类中 io.grpc.ManagedChannel
      • newCall

        public <RequestT,​ResponseT> io.grpc.ClientCall<RequestT,​ResponseT> newCall​(io.grpc.MethodDescriptor<RequestT,​ResponseT> methodDescriptor,
                                                                                               io.grpc.CallOptions callOptions)
        指定者:
        newCall 在类中 io.grpc.Channel
      • authority

        public String authority()
        指定者:
        authority 在类中 io.grpc.Channel