use of org.apache.flink.runtime.scheduler.ExecutionGraphHandler in project flink by apache.
the class StateWithExecutionGraphTest method createStateWithExecutionGraph.
private TestingStateWithExecutionGraph createStateWithExecutionGraph(MockStateWithExecutionGraphContext context, ExecutionGraph executionGraph, OperatorCoordinatorHandler operatorCoordinatorHandler) {
final ExecutionGraphHandler executionGraphHandler = new ExecutionGraphHandler(executionGraph, log, context.getMainThreadExecutor(), context.getMainThreadExecutor());
executionGraph.transitionToRunning();
return new TestingStateWithExecutionGraph(context, executionGraph, executionGraphHandler, operatorCoordinatorHandler, log, ClassLoader.getSystemClassLoader());
}
Aggregations