Class RecreateOnResetOperatorCoordinator.Provider
- java.lang.Object
-
- org.apache.flink.runtime.operators.coordination.RecreateOnResetOperatorCoordinator.Provider
-
- All Implemented Interfaces:
Serializable,OperatorCoordinator.Provider
- Direct Known Subclasses:
SourceCoordinatorProvider
- Enclosing class:
- RecreateOnResetOperatorCoordinator
public abstract static class RecreateOnResetOperatorCoordinator.Provider extends Object implements OperatorCoordinator.Provider
The provider for a private RecreateOnResetOperatorCoordinator.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Provider(OperatorID operatorID)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description OperatorCoordinatorcreate(OperatorCoordinator.Context context)Creates theOperatorCoordinator, using the given context.protected OperatorCoordinatorcreate(OperatorCoordinator.Context context, long closingTimeoutMs)protected abstract OperatorCoordinatorgetCoordinator(OperatorCoordinator.Context context)OperatorIDgetOperatorId()Gets the ID of the operator to which the coordinator belongs.
-
-
-
Constructor Detail
-
Provider
public Provider(OperatorID operatorID)
-
-
Method Detail
-
getOperatorId
public OperatorID getOperatorId()
Description copied from interface:OperatorCoordinator.ProviderGets the ID of the operator to which the coordinator belongs.- Specified by:
getOperatorIdin interfaceOperatorCoordinator.Provider
-
create
public OperatorCoordinator create(OperatorCoordinator.Context context) throws Exception
Description copied from interface:OperatorCoordinator.ProviderCreates theOperatorCoordinator, using the given context.- Specified by:
createin interfaceOperatorCoordinator.Provider- Throws:
Exception
-
create
@VisibleForTesting protected OperatorCoordinator create(OperatorCoordinator.Context context, long closingTimeoutMs) throws Exception
- Throws:
Exception
-
getCoordinator
protected abstract OperatorCoordinator getCoordinator(OperatorCoordinator.Context context) throws Exception
- Throws:
Exception
-
-