tillrohrmann commented on a change in pull request #14897: URL: https://github.com/apache/flink/pull/14897#discussion_r572027972
########## File path: flink-runtime/src/main/java/org/apache/flink/runtime/util/ResourceCounter.java ########## @@ -35,11 +37,12 @@ * associated counts. The counts are always positive (> 0). */ public final class ResourceCounter { Review comment: Why do you make this class mutable? It was designed to be immutable. I think there is good value in leaving this class immutable. ---------------------------------------------------------------- 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: us...@infra.apache.org