Class ConvertToInterleavedStorageCommand
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<ConvertToInterleavedStorageCommand.CTISFlags>
org.apache.bookkeeper.tools.cli.commands.bookie.ConvertToInterleavedStorageCommand
public class ConvertToInterleavedStorageCommand
extends BookieCommand<ConvertToInterleavedStorageCommand.CTISFlags>
A command to convert bookie indexes from DbLedgerStorage to InterleavedStorage format.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classFlags for this command. -
Field Summary
Fields inherited from class org.apache.bookkeeper.tools.framework.CliCommand
spec -
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionbooleanapply(ServerConfiguration conf, ConvertToInterleavedStorageCommand.CTISFlags cmdFlags) voidsetLedgerIdFormatter(LedgerIdFormatter ledgerIdFormatter) Methods 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
-
Constructor Details
-
ConvertToInterleavedStorageCommand
public ConvertToInterleavedStorageCommand() -
ConvertToInterleavedStorageCommand
-
-
Method Details
-
apply
public boolean apply(ServerConfiguration conf, ConvertToInterleavedStorageCommand.CTISFlags cmdFlags) - Specified by:
applyin classBookieCommand<ConvertToInterleavedStorageCommand.CTISFlags>
-
setLedgerIdFormatter
-