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 Classes Modifier and Type Class Description static class
ConvertToInterleavedStorageCommand.CTISFlags
Flags for this command.
-
Field Summary
-
Fields inherited from class org.apache.bookkeeper.tools.framework.CliCommand
spec
-
-
Constructor Summary
Constructors Constructor Description ConvertToInterleavedStorageCommand()
ConvertToInterleavedStorageCommand(ConvertToInterleavedStorageCommand.CTISFlags flags)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
apply(ServerConfiguration conf, ConvertToInterleavedStorageCommand.CTISFlags cmdFlags)
void
setLedgerIdFormatter(LedgerIdFormatter ledgerIdFormatter)
-
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
-
ConvertToInterleavedStorageCommand
public ConvertToInterleavedStorageCommand()
-
ConvertToInterleavedStorageCommand
public ConvertToInterleavedStorageCommand(ConvertToInterleavedStorageCommand.CTISFlags flags)
-
-
Method Detail
-
apply
public boolean apply(ServerConfiguration conf, ConvertToInterleavedStorageCommand.CTISFlags cmdFlags)
- Specified by:
apply
in classBookieCommand<ConvertToInterleavedStorageCommand.CTISFlags>
-
setLedgerIdFormatter
public void setLedgerIdFormatter(LedgerIdFormatter ledgerIdFormatter)
-
-