public class ManagedChannelFactory
extends java.lang.Object
ManagedChannel instances.| Modifier and Type | Method and Description | 
|---|---|
| static ManagedChannelFactory | createDefault()Creates a  ManagedChannelrelying on theManagedChannelBuilderto choose the
 channel type. | 
| static ManagedChannelFactory | createEpoll()Creates a  ManagedChannelFactorybacked by anEpollDomainSocketChannelif the
 address is aDomainSocketAddress. | 
| static ManagedChannelFactory | createInProcess()Creates a  ManagedChannelusing an in-process channel. | 
| org.apache.beam.vendor.grpc.v1p43p2.io.grpc.ManagedChannel | forDescriptor(org.apache.beam.model.pipeline.v1.Endpoints.ApiServiceDescriptor apiServiceDescriptor) | 
| ManagedChannelFactory | withDirectExecutor()Returns a  ManagedChannelFactorylike this one, but will construct the channel to use
 the direct executor. | 
| ManagedChannelFactory | withInterceptors(java.util.List<org.apache.beam.vendor.grpc.v1p43p2.io.grpc.ClientInterceptor> interceptors)Returns a  ManagedChannelFactorylike this one, but which will apply the providedClientInterceptorsto any channel it creates. | 
public static ManagedChannelFactory createDefault()
ManagedChannel relying on the ManagedChannelBuilder to choose the
 channel type.public static ManagedChannelFactory createEpoll()
ManagedChannelFactory backed by an EpollDomainSocketChannel if the
 address is a DomainSocketAddress. Otherwise creates a ManagedChannel backed by
 an EpollSocketChannel.public static ManagedChannelFactory createInProcess()
ManagedChannel using an in-process channel.public org.apache.beam.vendor.grpc.v1p43p2.io.grpc.ManagedChannel forDescriptor(org.apache.beam.model.pipeline.v1.Endpoints.ApiServiceDescriptor apiServiceDescriptor)
public ManagedChannelFactory withInterceptors(java.util.List<org.apache.beam.vendor.grpc.v1p43p2.io.grpc.ClientInterceptor> interceptors)
ManagedChannelFactory like this one, but which will apply the provided ClientInterceptors to any channel it creates.public ManagedChannelFactory withDirectExecutor()
ManagedChannelFactory like this one, but will construct the channel to use
 the direct executor.