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>
This commit is contained in:
Andrew Purtell 2021-07-22 08:59:44 -07:00 committed by GitHub
parent 0f787af7f6
commit be2c97e203
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -50,7 +50,7 @@ import org.slf4j.LoggerFactory;
* When finished with a ChoreService it is good practice to call {@link ChoreService#shutdown()}. * 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. * Calling this method ensures that all scheduled chores are cancelled and cleaned up properly.
*/ */
@InterfaceAudience.Public @InterfaceAudience.Private
public class ChoreService { public class ChoreService {
private static final Logger LOG = LoggerFactory.getLogger(ChoreService.class); private static final Logger LOG = LoggerFactory.getLogger(ChoreService.class);

View File

@ -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 * 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. * an entry being added to a queue, etc.
*/ */
@InterfaceAudience.Public @InterfaceAudience.Private
public abstract class ScheduledChore implements Runnable { public abstract class ScheduledChore implements Runnable {
private static final Logger LOG = LoggerFactory.getLogger(ScheduledChore.class); private static final Logger LOG = LoggerFactory.getLogger(ScheduledChore.class);