godfreyhe commented on a change in pull request #13839:
URL: https://github.com/apache/flink/pull/13839#discussion_r514356134
##########
File path:
flink-streaming-java/src/main/java/org/apache/flink/streaming/api/operators/AbstractStreamOperatorV2.java
##########
@@ -93,8 +93,8 @@
protected final LatencyStats latencyStats;
protected final ProcessingTimeService processingTimeService;
- private StreamOperatorStateHandler stateHandler;
- private InternalTimeServiceManager<?> timeServiceManager;
+ protected StreamOperatorStateHandler stateHandler;
+ protected InternalTimeServiceManager<?> timeServiceManager;
Review comment:
Thanks for the suggestion. I find `AbstractStreamOperatorV2` has already
provided a protected method named `getTimeServiceManager`. We can also add a
`protected` method named `getStateHandler`. So that its sub-classes can access
`stateHandler` and `timeServiceManager` both. I will revert the previous change.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]