Class StaticRemoteEnvironment
java.lang.Object
org.apache.beam.runners.fnexecution.environment.StaticRemoteEnvironment
- All Implemented Interfaces:
AutoCloseable,RemoteEnvironment
A
RemoteEnvironment that connects to Dataflow runner harness.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.beam.runners.fnexecution.environment.RemoteEnvironment
RemoteEnvironment.SimpleRemoteEnvironment -
Method Summary
Modifier and TypeMethodDescriptionvoidclose().org.apache.beam.model.pipeline.v1.RunnerApi.EnvironmentReturn the environment that the remote handles.Return anInstructionRequestHandlerwhich can communicate with the environment.
-
Method Details
-
getEnvironment
public org.apache.beam.model.pipeline.v1.RunnerApi.Environment getEnvironment()Description copied from interface:RemoteEnvironmentReturn the environment that the remote handles.- Specified by:
getEnvironmentin interfaceRemoteEnvironment
-
getInstructionRequestHandler
Description copied from interface:RemoteEnvironmentReturn anInstructionRequestHandlerwhich can communicate with the environment.- Specified by:
getInstructionRequestHandlerin interfaceRemoteEnvironment
-
close
Description copied from interface:RemoteEnvironment.By default, closes the
RemoteEnvironment.getInstructionRequestHandler().- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceRemoteEnvironment- Throws:
Exception
-