Class AuditorCheckAllLedgersTask
- java.lang.Object
- 
- org.apache.bookkeeper.replication.AuditorTask
- 
- org.apache.bookkeeper.replication.AuditorCheckAllLedgersTask
 
 
- 
- All Implemented Interfaces:
- java.lang.Runnable
 
 public class AuditorCheckAllLedgersTask extends AuditorTask 
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from class org.apache.bookkeeper.replication.AuditorTaskAuditorTask.ShutdownTaskHandler
 
- 
 - 
Field Summary- 
Fields inherited from class org.apache.bookkeeper.replication.AuditorTaskadmin, auditorStats, conf, ledgerManager, ledgerUnderreplicationManager
 
- 
 - 
Constructor SummaryConstructors Constructor Description AuditorCheckAllLedgersTask(ServerConfiguration conf, AuditorStats auditorStats, BookKeeperAdmin admin, LedgerManager ledgerManager, LedgerUnderreplicationManager ledgerUnderreplicationManager, AuditorTask.ShutdownTaskHandler shutdownTaskHandler, java.util.function.BiConsumer<java.util.concurrent.atomic.AtomicBoolean,java.lang.Throwable> hasAuditCheckTask)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) voidcheckAllLedgers()List all the ledgers and check them individually.protected voidrunTask()voidshutdown()- 
Methods inherited from class org.apache.bookkeeper.replication.AuditorTaskgetAvailableBookies, getBookKeeper, getBookKeeperAdmin, hasBookieCheckTask, isLedgerReplicationEnabled, publishSuspectedLedgersAsync, run, submitShutdownTask
 
- 
 
- 
- 
- 
Constructor Detail- 
AuditorCheckAllLedgersTaskAuditorCheckAllLedgersTask(ServerConfiguration conf, AuditorStats auditorStats, BookKeeperAdmin admin, LedgerManager ledgerManager, LedgerUnderreplicationManager ledgerUnderreplicationManager, AuditorTask.ShutdownTaskHandler shutdownTaskHandler, java.util.function.BiConsumer<java.util.concurrent.atomic.AtomicBoolean,java.lang.Throwable> hasAuditCheckTask) throws ReplicationException.UnavailableException 
 
- 
 - 
Method Detail- 
runTaskprotected void runTask() - Specified by:
- runTaskin class- AuditorTask
 
 - 
shutdownpublic void shutdown() - Specified by:
- shutdownin class- AuditorTask
 
 - 
checkAllLedgersvoid checkAllLedgers() throws BKException, java.io.IOException, java.lang.InterruptedExceptionList all the ledgers and check them individually. This should not be run very often.- Throws:
- BKException
- java.io.IOException
- java.lang.InterruptedException
 
 
- 
 
-