Package org.apache.flink.client.python
Class PythonGatewayServer
java.lang.Object
org.apache.flink.client.python.PythonGatewayServer
The Py4j Gateway Server provides RPC service for user's python process.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceA simple watch dog interface. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic PythonGatewayServer.WatchdogThis watchdog object is provided to Python side to check whether its parent process is alive. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
watchdog
This watchdog object is provided to Python side to check whether its parent process is alive.
-
-
Constructor Details
-
PythonGatewayServer
public PythonGatewayServer()
-
-
Method Details
-
main
Main method to start a local GatewayServer on a ephemeral port. It tells python side via a file.See: py4j.GatewayServer.main()
-