Interface RpcSystem

    • Method Detail

      • localServiceBuilder

        RpcSystem.RpcServiceBuilder localServiceBuilder​(Configuration configuration)
        Returns a builder for an RpcService that is only reachable from the local machine.
        Parameters:
        configuration - Flink configuration
        Returns:
        rpc service builder
      • remoteServiceBuilder

        RpcSystem.RpcServiceBuilder remoteServiceBuilder​(Configuration configuration,
                                                         @Nullable
                                                         String externalAddress,
                                                         String externalPortRange)
        Returns a builder for an RpcService that is reachable from other machines.
        Parameters:
        configuration - Flink configuration
        externalAddress - optional address under which the RpcService should be reachable
        externalPortRange - port range from which 1 port will be chosen under which the RpcService should be reachable
        Returns:
        rpc service builder
      • close

        default void close()
        Hook to cleanup resources, like common thread pools or classloaders.
        Specified by:
        close in interface AutoCloseable
      • load

        static RpcSystem load()
        Loads the RpcSystem.
        Returns:
        loaded RpcSystem
      • load

        static RpcSystem load​(Configuration config)
        Loads the RpcSystem.
        Parameters:
        config - Flink configuration
        Returns:
        loaded RpcSystem