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 classConvertToInterleavedStorageCommand.CTISFlagsFlags 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 booleanapply(ServerConfiguration conf, ConvertToInterleavedStorageCommand.CTISFlags cmdFlags)voidsetLedgerIdFormatter(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:
 applyin classBookieCommand<ConvertToInterleavedStorageCommand.CTISFlags>
 
- 
setLedgerIdFormatter
public void setLedgerIdFormatter(LedgerIdFormatter ledgerIdFormatter)
 
 - 
 
 -