Search in sources :

Example 6 with ExecutionGraphHandler

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());
}
Also used : ExecutionGraphHandler(org.apache.flink.runtime.scheduler.ExecutionGraphHandler)

Aggregations

ExecutionGraphHandler (org.apache.flink.runtime.scheduler.ExecutionGraphHandler)6 OperatorCoordinatorHandler (org.apache.flink.runtime.scheduler.OperatorCoordinatorHandler)5 ArchivedExecutionGraph (org.apache.flink.runtime.executiongraph.ArchivedExecutionGraph)1 ExecutionGraph (org.apache.flink.runtime.executiongraph.ExecutionGraph)1 ExecutionVertex (org.apache.flink.runtime.executiongraph.ExecutionVertex)1 DefaultOperatorCoordinatorHandler (org.apache.flink.runtime.scheduler.DefaultOperatorCoordinatorHandler)1