Class GrpcTransportChannel

  • All Implemented Interfaces:
    com.google.api.gax.core.BackgroundResource, com.google.api.gax.rpc.TransportChannel, AutoCloseable

    @InternalExtensionOnly
    public abstract class GrpcTransportChannel
    extends Object
    implements com.google.api.gax.rpc.TransportChannel
    Implementation of TransportChannel based on gRPC.
    • Constructor Detail

      • GrpcTransportChannel

        public GrpcTransportChannel()
    • Method Detail

      • getGrpcTransportName

        public static String getGrpcTransportName()
        The name of the Grpc transport.
      • getTransportName

        public String getTransportName()
        Specified by:
        getTransportName in interface com.google.api.gax.rpc.TransportChannel
      • getEmptyCallContext

        public GrpcCallContext getEmptyCallContext()
        Specified by:
        getEmptyCallContext in interface com.google.api.gax.rpc.TransportChannel
      • getChannel

        public io.grpc.Channel getChannel()
      • shutdown

        public void shutdown()
        Specified by:
        shutdown in interface com.google.api.gax.core.BackgroundResource
      • isShutdown

        public boolean isShutdown()
        Specified by:
        isShutdown in interface com.google.api.gax.core.BackgroundResource
      • isTerminated

        public boolean isTerminated()
        Specified by:
        isTerminated in interface com.google.api.gax.core.BackgroundResource
      • shutdownNow

        public void shutdownNow()
        Specified by:
        shutdownNow in interface com.google.api.gax.core.BackgroundResource