Interface CoordinatedOperatorFactory<OUT>
- All Superinterfaces:
Serializable,StreamOperatorFactory<OUT>
- All Known Implementing Classes:
CollectSinkOperatorFactory,SourceOperatorFactory
A factory class for the
StreamOperators implementing OperatorEventHandler.-
Method Summary
Modifier and TypeMethodDescription<T extends StreamOperator<OUT>>
TcreateStreamOperator(StreamOperatorParameters<OUT> parameters) The implementation should return an instance ofOperatorEventHandler.getCoordinatorProvider(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 Details
-
createStreamOperator
The implementation should return an instance ofOperatorEventHandler.- Specified by:
createStreamOperatorin interfaceStreamOperatorFactory<OUT>
-
getCoordinatorProvider
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.
-