umustafi commented on code in PR #3885:
URL: https://github.com/apache/gobblin/pull/3885#discussion_r1513385883


##########
gobblin-service/src/main/java/org/apache/gobblin/service/modules/orchestration/GeneralLeaseArbitrationHandler.java:
##########
@@ -0,0 +1,120 @@
+package org.apache.gobblin.service.modules.orchestration;
+
+import java.io.IOException;
+
+import org.quartz.SchedulerException;
+
+import com.google.common.base.Optional;
+import com.typesafe.config.Config;
+
+import lombok.extern.slf4j.Slf4j;
+
+import org.apache.gobblin.instrumented.Instrumented;
+import org.apache.gobblin.metrics.ContextAwareCounter;
+import org.apache.gobblin.metrics.ContextAwareMeter;
+import org.apache.gobblin.metrics.MetricContext;
+import org.apache.gobblin.metrics.ServiceMetricNames;
+import org.apache.gobblin.runtime.api.DagActionStore;
+import org.apache.gobblin.runtime.api.MultiActiveLeaseArbiter;
+import org.apache.gobblin.util.ConfigUtils;
+
+
+@Slf4j
+public abstract class GeneralLeaseArbitrationHandler {

Review Comment:
   decorator class that is mostly the functionality of the MALA. only separate 
piece is the reminder scheduling code -> external code doesn't need to 
call/think about how reminders are set other than to pass reminders back to the 
caller of the func



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