Class ReadJournalCommand
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<ReadJournalCommand.ReadJournalFlags>
org.apache.bookkeeper.tools.cli.commands.bookie.ReadJournalCommand
Command to scan a journal file and format the entries into readable format.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classFlag for read journal command. -
Field Summary
FieldsFields inherited from class org.apache.bookkeeper.tools.framework.CliCommand
spec -
Constructor Summary
ConstructorsConstructorDescriptionReadJournalCommand(LedgerIdFormatter idFormatter, EntryFormatter entryFormatter) -
Method Summary
Modifier and TypeMethodDescriptionbooleanapply(ServerConfiguration conf, ReadJournalCommand.ReadJournalFlags cmdFlags) 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
-
Field Details
-
journals
-
-
Constructor Details
-
ReadJournalCommand
public ReadJournalCommand() -
ReadJournalCommand
-
ReadJournalCommand
ReadJournalCommand(ReadJournalCommand.ReadJournalFlags flags)
-
-
Method Details
-
apply
- Specified by:
applyin classBookieCommand<ReadJournalCommand.ReadJournalFlags>
-