Class RestartAllFailoverStrategy.Factory
java.lang.Object
org.apache.flink.runtime.executiongraph.failover.RestartAllFailoverStrategy.Factory
- All Implemented Interfaces:
FailoverStrategy.Factory
- Enclosing class:
- RestartAllFailoverStrategy
public static class RestartAllFailoverStrategy.Factory
extends Object
implements FailoverStrategy.Factory
The factory to instantiate
RestartAllFailoverStrategy.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate(SchedulingTopology topology, ResultPartitionAvailabilityChecker resultPartitionAvailabilityChecker) Instantiates theFailoverStrategy.
-
Constructor Details
-
Factory
public Factory()
-
-
Method Details
-
create
public FailoverStrategy create(SchedulingTopology topology, ResultPartitionAvailabilityChecker resultPartitionAvailabilityChecker) Description copied from interface:FailoverStrategy.FactoryInstantiates theFailoverStrategy.- Specified by:
createin interfaceFailoverStrategy.Factory- Parameters:
topology- of the graph to failoverresultPartitionAvailabilityChecker- to check whether a result partition is available- Returns:
- The instantiated failover strategy.
-