@ThreadSafe public class StaticRemoteEnvironment extends java.lang.Object implements RemoteEnvironment
RemoteEnvironment that connects to Dataflow runner harness.RemoteEnvironment.SimpleRemoteEnvironment| Modifier and Type | Method and Description |
|---|---|
void |
close()
.
|
org.apache.beam.model.pipeline.v1.RunnerApi.Environment |
getEnvironment()
Return the environment that the remote handles.
|
InstructionRequestHandler |
getInstructionRequestHandler()
Return an
InstructionRequestHandler which can communicate with the environment. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforHandlerpublic org.apache.beam.model.pipeline.v1.RunnerApi.Environment getEnvironment()
RemoteEnvironmentgetEnvironment in interface RemoteEnvironmentpublic InstructionRequestHandler getInstructionRequestHandler()
RemoteEnvironmentInstructionRequestHandler which can communicate with the environment.getInstructionRequestHandler in interface RemoteEnvironmentpublic void close()
throws java.lang.Exception
RemoteEnvironmentBy default, closes the RemoteEnvironment.getInstructionRequestHandler().
close in interface java.lang.AutoCloseableclose in interface RemoteEnvironmentjava.lang.Exception