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:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate(OperatorCoordinator.Context context) Creates theOperatorCoordinator, using the given context.protected OperatorCoordinatorcreate(OperatorCoordinator.Context context, long closingTimeoutMs) protected abstract OperatorCoordinatorGets the ID of the operator to which the coordinator belongs.
-
Constructor Details
-
Provider
-
-
Method Details
-
getOperatorId
Description copied from interface:OperatorCoordinator.ProviderGets the ID of the operator to which the coordinator belongs.- Specified by:
getOperatorIdin interfaceOperatorCoordinator.Provider
-
create
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
-