Interface CoordinatedOperatorFactory<OUT>
-
- All Superinterfaces:
Serializable,StreamOperatorFactory<OUT>
- All Known Implementing Classes:
CollectSinkOperatorFactory,SourceOperatorFactory
@Internal public interface CoordinatedOperatorFactory<OUT> extends StreamOperatorFactory<OUT>
A factory class for theStreamOperators implementingOperatorEventHandler.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <T extends StreamOperator<OUT>>
TcreateStreamOperator(StreamOperatorParameters<OUT> parameters)The implementation should return an instance ofOperatorEventHandler.OperatorCoordinator.ProvidergetCoordinatorProvider(String operatorName, OperatorID operatorID)Get the operator coordinator provider for this operator.-
Methods inherited from interface org.apache.flink.streaming.api.operators.StreamOperatorFactory
getChainingStrategy, getOperatorAttributes, getStreamOperatorClass, isInputTypeConfigurable, isLegacySource, isOutputTypeConfigurable, isStreamSource, setChainingStrategy, setInputType, setOutputType
-
-
-
-
Method Detail
-
createStreamOperator
<T extends StreamOperator<OUT>> T createStreamOperator(StreamOperatorParameters<OUT> parameters)
The implementation should return an instance ofOperatorEventHandler.- Specified by:
createStreamOperatorin interfaceStreamOperatorFactory<OUT>
-
getCoordinatorProvider
OperatorCoordinator.Provider getCoordinatorProvider(String operatorName, OperatorID operatorID)
Get the operator coordinator provider for this operator.- Parameters:
operatorName- the name of the operator.operatorID- the id of the operator.- Returns:
- the provider of the
OperatorCoordinatorfor this operator.
-
-