aljoscha commented on a change in pull request #8280: [FLINK-12297]Harden
ClosureCleaner to handle the wrapped function
URL: https://github.com/apache/flink/pull/8280#discussion_r289762461
##########
File path:
flink-core/src/main/java/org/apache/flink/api/common/ExecutionConfig.java
##########
@@ -1054,4 +1075,13 @@ public T getSerializer() {
return Collections.emptyMap();
}
}
+
+ /**
+ * The clean level determines whether need to clean or whether need to
clean recursively.
+ */
+ public enum CLEANLEVEL {
Review comment:
This should be in line with regular java style, i.e. the name should be
something like `ClosureCleanerLevel` or `ClosureCleanerConfig`. The individual
options could be something like `NONE`, `TOP_LEVEL`, or `RECURSIVE`, with
javadoc that describes what the options do inserted here.
----------------------------------------------------------------
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]
With regards,
Apache Git Services