From 5ce93399729b5d897c953cea5ef1efb4b6f4c8e3 Mon Sep 17 00:00:00 2001 From: Andrew Purtell Date: Thu, 22 Jul 2021 08:59:44 -0700 Subject: [PATCH] HBASE-25521 Change ChoreService and ScheduledChore to IA.Private (#3505) Signed-off-by: Bharath Vissapragada Signed-off-by: Duo Zhang Signed-off-by Reid Chan --- .../src/main/java/org/apache/hadoop/hbase/ChoreService.java | 2 +- .../src/main/java/org/apache/hadoop/hbase/ScheduledChore.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hbase-common/src/main/java/org/apache/hadoop/hbase/ChoreService.java b/hbase-common/src/main/java/org/apache/hadoop/hbase/ChoreService.java index 9540d848d60..8786c5af554 100644 --- a/hbase-common/src/main/java/org/apache/hadoop/hbase/ChoreService.java +++ b/hbase-common/src/main/java/org/apache/hadoop/hbase/ChoreService.java @@ -50,7 +50,7 @@ import org.slf4j.LoggerFactory; * When finished with a ChoreService it is good practice to call {@link ChoreService#shutdown()}. * Calling this method ensures that all scheduled chores are cancelled and cleaned up properly. */ -@InterfaceAudience.Public +@InterfaceAudience.Private public class ChoreService { private static final Logger LOG = LoggerFactory.getLogger(ChoreService.class); diff --git a/hbase-common/src/main/java/org/apache/hadoop/hbase/ScheduledChore.java b/hbase-common/src/main/java/org/apache/hadoop/hbase/ScheduledChore.java index aaedc78574b..ccb2a7296b1 100644 --- a/hbase-common/src/main/java/org/apache/hadoop/hbase/ScheduledChore.java +++ b/hbase-common/src/main/java/org/apache/hadoop/hbase/ScheduledChore.java @@ -40,7 +40,7 @@ import org.slf4j.LoggerFactory; * Don't subclass ScheduledChore if the task relies on being woken up for something to do, such as * an entry being added to a queue, etc. */ -@InterfaceAudience.Public +@InterfaceAudience.Private public abstract class ScheduledChore implements Runnable { private static final Logger LOG = LoggerFactory.getLogger(ScheduledChore.class);