public static class EmbeddedEnvironmentFactory.Provider extends java.lang.Object implements EnvironmentFactory.Provider
Constructor and Description |
---|
Provider(PipelineOptions pipelineOptions) |
Modifier and Type | Method and Description |
---|---|
EnvironmentFactory |
createEnvironmentFactory(GrpcFnServer<FnApiControlClientPoolService> controlServer,
GrpcFnServer<GrpcLoggingService> loggingServer,
GrpcFnServer<ArtifactRetrievalService> retrievalServer,
GrpcFnServer<StaticGrpcProvisionService> provisioningServer,
ControlClientPool clientPool,
IdGenerator idGenerator)
Creates
EnvironmentFactory for the provided GrpcServices. |
ServerFactory |
getServerFactory()
Create the
ServerFactory applicable to this environment. |
public Provider(PipelineOptions pipelineOptions)
public EnvironmentFactory createEnvironmentFactory(GrpcFnServer<FnApiControlClientPoolService> controlServer, GrpcFnServer<GrpcLoggingService> loggingServer, GrpcFnServer<ArtifactRetrievalService> retrievalServer, GrpcFnServer<StaticGrpcProvisionService> provisioningServer, ControlClientPool clientPool, IdGenerator idGenerator)
EnvironmentFactory.Provider
EnvironmentFactory
for the provided GrpcServices.createEnvironmentFactory
in interface EnvironmentFactory.Provider
public ServerFactory getServerFactory()
EnvironmentFactory.Provider
ServerFactory
applicable to this environment.getServerFactory
in interface EnvironmentFactory.Provider