Class CheckDBLedgersIndexCommand
java.lang.Object
org.apache.bookkeeper.tools.framework.CliCommand<BKFlags,CommandFlagsT>
org.apache.bookkeeper.tools.common.BKCommand<BookieFlagsT>
org.apache.bookkeeper.tools.cli.helpers.BookieCommand<CheckDBLedgersIndexCommand.CheckLedgersIndexFlags>
org.apache.bookkeeper.tools.cli.commands.bookie.CheckDBLedgersIndexCommand
public class CheckDBLedgersIndexCommand
extends BookieCommand<CheckDBLedgersIndexCommand.CheckLedgersIndexFlags>
Command to check the DBLedgerStorage ledgers index integrity.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classFlags for read log command. -
Field Summary
FieldsFields inherited from class org.apache.bookkeeper.tools.framework.CliCommand
spec -
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionbooleanMethods inherited from class org.apache.bookkeeper.tools.cli.helpers.BookieCommand
applyMethods inherited from class org.apache.bookkeeper.tools.common.BKCommand
acceptServiceUri, apply, apply, applyMethods inherited from class org.apache.bookkeeper.tools.framework.CliCommand
category, description, getUsage, name, path, setParent, usage
-
Field Details
-
LOG
static final org.slf4j.Logger LOG
-
-
Constructor Details
-
CheckDBLedgersIndexCommand
public CheckDBLedgersIndexCommand() -
CheckDBLedgersIndexCommand
-
-
Method Details
-
apply
public boolean apply(ServerConfiguration conf, CheckDBLedgersIndexCommand.CheckLedgersIndexFlags cmdFlags) - Specified by:
applyin classBookieCommand<CheckDBLedgersIndexCommand.CheckLedgersIndexFlags>
-