Skip to content

Commit be2c97e

Browse files
authored
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 0f787af commit be2c97e

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
@@ -40,7 +40,7 @@
4040
* Don't subclass ScheduledChore if the task relies on being woken up for something to do, such as
4141
* an entry being added to a queue, etc.
4242
*/
43-
@InterfaceAudience.Public
43+
@InterfaceAudience.Private
4444
public abstract class ScheduledChore implements Runnable {
4545
private static final Logger LOG = LoggerFactory.getLogger(ScheduledChore.class);
4646

0 commit comments

Comments
 (0)