Will-Lo commented on code in PR #3844:
URL: https://github.com/apache/gobblin/pull/3844#discussion_r1417997923


##########
gobblin-data-management/src/main/java/org/apache/gobblin/data/management/copy/publisher/CopyDataPublisher.java:
##########
@@ -222,6 +223,80 @@ private void preserveFileAttrInPublisher(CopyableFile 
copyableFile) throws IOExc
     }
   }
 
+  /** Organizes and encapsulates access to {@link WorkUnitState}s according to 
useful access patterns. */
+  @AllArgsConstructor
+  private static class WorkUnitStatesHelper {

Review Comment:
   Maybe not for this PR, but if this stems from multiple categories of 
workloads being misidentified maybe we should have this as its own separate 
class and have a stronger type system around workunit collections?



-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to