public class InProcessServerFactory extends ServerFactory
ServerFactory.InetSocketAddressServerFactory, ServerFactory.UrlFactory| Modifier and Type | Method and Description |
|---|---|
org.apache.beam.vendor.grpc.v1p43p2.io.grpc.Server |
allocateAddressAndCreate(java.util.List<org.apache.beam.vendor.grpc.v1p43p2.io.grpc.BindableService> services,
org.apache.beam.model.pipeline.v1.Endpoints.ApiServiceDescriptor.Builder builder)
Creates an instance of this server using an ephemeral address.
|
static InProcessServerFactory |
create() |
org.apache.beam.vendor.grpc.v1p43p2.io.grpc.Server |
create(java.util.List<org.apache.beam.vendor.grpc.v1p43p2.io.grpc.BindableService> services,
org.apache.beam.model.pipeline.v1.Endpoints.ApiServiceDescriptor serviceDescriptor)
Creates an instance of this server at the address specified by the given service descriptor and
bound to multiple services.
|
createDefault, createEpollDomainSocket, createEpollSocket, createWithPortSupplier, createWithUrlFactory, createWithUrlFactoryAndPortSupplierpublic static InProcessServerFactory create()
public org.apache.beam.vendor.grpc.v1p43p2.io.grpc.Server allocateAddressAndCreate(java.util.List<org.apache.beam.vendor.grpc.v1p43p2.io.grpc.BindableService> services,
org.apache.beam.model.pipeline.v1.Endpoints.ApiServiceDescriptor.Builder builder)
throws java.io.IOException
ServerFactoryEndpoints.ApiServiceDescriptor.Builder. Server applies GrpcContextHeaderAccessorProvider.interceptor() to all incoming requests.allocateAddressAndCreate in class ServerFactoryjava.io.IOExceptionpublic org.apache.beam.vendor.grpc.v1p43p2.io.grpc.Server create(java.util.List<org.apache.beam.vendor.grpc.v1p43p2.io.grpc.BindableService> services,
org.apache.beam.model.pipeline.v1.Endpoints.ApiServiceDescriptor serviceDescriptor)
throws java.io.IOException
ServerFactoryGrpcContextHeaderAccessorProvider.interceptor() to all incoming requests.create in class ServerFactoryjava.io.IOException