@Internal public interface CoordinatedOperatorFactory<OUT> extends StreamOperatorFactory<OUT>
StreamOperator
s implementing OperatorEventHandler
.Modifier and Type | Method and Description |
---|---|
<T extends StreamOperator<OUT>> |
createStreamOperator(StreamOperatorParameters<OUT> parameters)
The implementation should return an instance of
OperatorEventHandler . |
OperatorCoordinator.Provider |
getCoordinatorProvider(String operatorName,
OperatorID operatorID)
Get the operator coordinator provider for this operator.
|
getChainingStrategy, getOperatorAttributes, getStreamOperatorClass, isInputTypeConfigurable, isLegacySource, isOutputTypeConfigurable, isStreamSource, setChainingStrategy, setInputType, setOutputType
<T extends StreamOperator<OUT>> T createStreamOperator(StreamOperatorParameters<OUT> parameters)
OperatorEventHandler
.createStreamOperator
in interface StreamOperatorFactory<OUT>
OperatorCoordinator.Provider getCoordinatorProvider(String operatorName, OperatorID operatorID)
operatorName
- the name of the operator.operatorID
- the id of the operator.OperatorCoordinator
for this operator.Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.