Class RebuildDBLedgersIndexCommand
- 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<RebuildDBLedgersIndexCommand.RebuildLedgersIndexFlags>
-
- org.apache.bookkeeper.tools.cli.commands.bookie.RebuildDBLedgersIndexCommand
-
public class RebuildDBLedgersIndexCommand extends BookieCommand<RebuildDBLedgersIndexCommand.RebuildLedgersIndexFlags>
Command to rebuild DBLedgerStorage ledgers index.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
RebuildDBLedgersIndexCommand.RebuildLedgersIndexFlags
Flags for read log command.
-
Field Summary
Fields Modifier and Type Field Description (package private) static org.slf4j.Logger
LOG
-
Fields inherited from class org.apache.bookkeeper.tools.framework.CliCommand
spec
-
-
Constructor Summary
Constructors Constructor Description RebuildDBLedgersIndexCommand()
RebuildDBLedgersIndexCommand(RebuildDBLedgersIndexCommand.RebuildLedgersIndexFlags flags)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
apply(ServerConfiguration conf, RebuildDBLedgersIndexCommand.RebuildLedgersIndexFlags cmdFlags)
-
Methods inherited from class org.apache.bookkeeper.tools.cli.helpers.BookieCommand
apply
-
Methods inherited from class org.apache.bookkeeper.tools.common.BKCommand
acceptServiceUri, apply, apply, apply
-
Methods inherited from class org.apache.bookkeeper.tools.framework.CliCommand
category, description, getUsage, name, path, setParent, usage
-
-
-
-
Constructor Detail
-
RebuildDBLedgersIndexCommand
public RebuildDBLedgersIndexCommand()
-
RebuildDBLedgersIndexCommand
public RebuildDBLedgersIndexCommand(RebuildDBLedgersIndexCommand.RebuildLedgersIndexFlags flags)
-
-
Method Detail
-
apply
public boolean apply(ServerConfiguration conf, RebuildDBLedgersIndexCommand.RebuildLedgersIndexFlags cmdFlags)
- Specified by:
apply
in classBookieCommand<RebuildDBLedgersIndexCommand.RebuildLedgersIndexFlags>
-
-