Class FlinkContextReference

    • Constructor Detail

      • FlinkContextReference

        public FlinkContextReference​(CrossPlatformExecutor crossPlatformExecutor,
                                     org.apache.flink.api.java.ExecutionEnvironment flinkEnviroment,
                                     int parallelism)
        Creates a new instance.
        Parameters:
        flinkEnviroment - the ExecutionEnvironment to be wrapped
    • Method Detail

      • get

        public org.apache.flink.api.java.ExecutionEnvironment get()
        Provides the ExecutionEnvironment. This instance must not be disposed, yet.
        Returns:
        the wrapped ExecutionEnvironment
      • doDispose

        protected void doDispose()
                          throws java.lang.Throwable
        Description copied from class: ExecutionResourceTemplate
        Performs the actual disposing work of this instance.
        Specified by:
        doDispose in class ExecutionResourceTemplate
        Throws:
        java.lang.Throwable - in case anything goes wrong