xyuanlu commented on code in PR #2127:
URL: https://github.com/apache/helix/pull/2127#discussion_r887388292
##########
helix-core/src/main/java/org/apache/helix/cloud/event/HelixEventHandlingUtil.java:
##########
@@ -0,0 +1,23 @@
+package org.apache.helix.cloud.event;
+
+import org.apache.helix.BaseDataAccessor;
+
+
+public class HelixEventHandlingUtil {
+
+ public static boolean enableInstanceForCloudEvent(String clusterName, String
instanceName, boolean isEnable, long timeStamp,
+ BaseDataAccessor dataAccessor) {
+ return true;
+ }
+
+ public static boolean IsInstanceDisabledForCloudEvent(String clusterName,
String instanceName,
+ BaseDataAccessor dataAccessor) {
+ return true;
+ }
+
+ public static Long getInstanceDisabledTimestamp(String clusterName, String
instanceName,
Review Comment:
Is intend to be the timestamp for cloud event. I updated the signature to
take a message. It will be less ambiguous.
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]