Class ExecutionContextEnvironment

  • All Implemented Interfaces:
    org.apache.flink.datastream.api.ExecutionEnvironment

    public class ExecutionContextEnvironment
    extends ExecutionEnvironmentImpl
    Special ExecutionEnvironment that will be used in cases where the CLI client or testing utilities create a ExecutionEnvironment that should be used when ExecutionEnvironment.getInstance() ()} is called.
    • Constructor Detail

      • ExecutionContextEnvironment

        public ExecutionContextEnvironment​(org.apache.flink.core.execution.PipelineExecutorServiceLoader executorServiceLoader,
                                           org.apache.flink.configuration.Configuration configuration,
                                           ClassLoader userCodeClassLoader)
    • Method Detail

      • setAsContext

        public static void setAsContext​(org.apache.flink.core.execution.PipelineExecutorServiceLoader executorServiceLoader,
                                        org.apache.flink.configuration.Configuration clusterConfiguration,
                                        ClassLoader userCodeClassLoader)
      • unsetAsContext

        public static void unsetAsContext()