Skip to content

Commit b42676c

Browse files
committed
HBASE-25521 Change ChoreService and ScheduledChore to IA.Private (#3505)
Signed-off-by: Bharath Vissapragada <bharathv@apache.org> Signed-off-by: Duo Zhang <zhangduo@apache.org> Signed-off-by Reid Chan <reidchan@apache.org>
1 parent a3940af commit b42676c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

hbase-common/src/main/java/org/apache/hadoop/hbase/ChoreService.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
* When finished with a ChoreService it is good practice to call {@link ChoreService#shutdown()}.
5151
* Calling this method ensures that all scheduled chores are cancelled and cleaned up properly.
5252
*/
53-
@InterfaceAudience.Public
53+
@InterfaceAudience.Private
5454
public class ChoreService {
5555
private static final Logger LOG = LoggerFactory.getLogger(ChoreService.class);
5656

hbase-common/src/main/java/org/apache/hadoop/hbase/ScheduledChore.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
* Don't subclass ScheduledChore if the task relies on being woken up for something to do, such as
3939
* an entry being added to a queue, etc.
4040
*/
41-
@InterfaceAudience.Public
41+
@InterfaceAudience.Private
4242
public abstract class ScheduledChore implements Runnable {
4343
private static final Logger LOG = LoggerFactory.getLogger(ScheduledChore.class);
4444

0 commit comments

Comments
 (0)