Class FormatCommand
- 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<FormatCommand.Flags>
-
- org.apache.bookkeeper.tools.cli.commands.bookie.FormatCommand
-
public class FormatCommand extends BookieCommand<FormatCommand.Flags>
Command to format the current server contents.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classFormatCommand.FlagsFlags for format bookie command.
-
Field Summary
Fields Modifier and Type Field Description (package private) static org.slf4j.LoggerLOG-
Fields inherited from class org.apache.bookkeeper.tools.framework.CliCommand
spec
-
-
Constructor Summary
Constructors Constructor Description FormatCommand()FormatCommand(FormatCommand.Flags flags)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanapply(ServerConfiguration conf, FormatCommand.Flags 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
-
FormatCommand
public FormatCommand()
-
FormatCommand
public FormatCommand(FormatCommand.Flags flags)
-
-
Method Detail
-
apply
public boolean apply(ServerConfiguration conf, FormatCommand.Flags cmdFlags)
- Specified by:
applyin classBookieCommand<FormatCommand.Flags>
-
-