Class ManagedChannelFactory


  • public class ManagedChannelFactory
    extends java.lang.Object
    A Factory which creates ManagedChannel instances.
    • Method Detail

      • createDefault

        public static ManagedChannelFactory createDefault()
        Creates a ManagedChannel relying on the ManagedChannelBuilder to choose the channel type.
      • createEpoll

        public static ManagedChannelFactory createEpoll()
        Creates a ManagedChannelFactory backed by an EpollDomainSocketChannel if the address is a DomainSocketAddress. Otherwise creates a ManagedChannel backed by an EpollSocketChannel.
      • createInProcess

        public static ManagedChannelFactory createInProcess()
        Creates a ManagedChannel using an in-process channel.
      • forDescriptor

        public org.apache.beam.vendor.grpc.v1p48p1.io.grpc.ManagedChannel forDescriptor​(org.apache.beam.model.pipeline.v1.Endpoints.ApiServiceDescriptor apiServiceDescriptor)
      • withInterceptors

        public ManagedChannelFactory withInterceptors​(java.util.List<org.apache.beam.vendor.grpc.v1p48p1.io.grpc.ClientInterceptor> interceptors)
        Returns a ManagedChannelFactory like this one, but which will apply the provided ClientInterceptors to any channel it creates.