use of org.apache.flink.api.java.ExecutionEnvironmentFactory in project flink by apache.
the class TestEnvironment method setAsContext.
public void setAsContext() {
ExecutionEnvironmentFactory factory = () -> {
lastEnv = new TestEnvironment(miniCluster, getParallelism(), getConfig().isObjectReuseEnabled());
return lastEnv;
};
initializeContextEnvironment(factory);
}
Aggregations