smengcl commented on code in PR #9390:
URL: https://github.com/apache/ozone/pull/9390#discussion_r2739047394
##########
hadoop-hdds/common/src/main/java/org/apache/hadoop/hdds/utils/BackgroundTask.java:
##########
@@ -18,16 +18,56 @@
package org.apache.hadoop.hdds.utils;
import java.util.concurrent.Callable;
+import java.util.concurrent.RecursiveTask;
/**
* A task thread to run by {@link BackgroundService}.
*/
-public interface BackgroundTask extends Callable<BackgroundTaskResult> {
+public abstract class BackgroundTask extends
RecursiveTask<BackgroundTask.BackgroundTaskForkResult>
Review Comment:
Since this one is closed. I've raised
https://github.com/apache/ozone/pull/9686 that addressed the comment above.
--
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]