You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@uniffle.apache.org by "zuston (via GitHub)" <gi...@apache.org> on 2023/01/30 07:40:22 UTC

[GitHub] [incubator-uniffle] zuston commented on a diff in pull request #520: [Refactor] Change abstract class Checker to interface

zuston commented on code in PR #520:
URL: https://github.com/apache/incubator-uniffle/pull/520#discussion_r1090262266


##########
server/src/main/java/org/apache/uniffle/server/Checker.java:
##########
@@ -17,13 +17,6 @@
 
 package org.apache.uniffle.server;
 
-public abstract class Checker {
-
-  protected ShuffleServerConf conf;
-
-  Checker(ShuffleServerConf conf) {
-    this.conf = conf;
-  }
-
-  abstract boolean checkIsHealthy();
+public interface Checker {

Review Comment:
   Rename to `StorageChecker` ? And this part could be moved into Storage's checker package? WDYT



-- 
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: issues-unsubscribe@uniffle.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@uniffle.apache.org
For additional commands, e-mail: issues-help@uniffle.apache.org