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
-
public class ReadJournalCommand extends BookieCommand<ReadJournalCommand.ReadJournalFlags>
Command to scan a journal file and format the entries into readable format.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ReadJournalCommand.ReadJournalFlags
Flag for read journal command.
-
Field Summary
Fields Modifier and Type Field Description (package private) java.util.List<Journal>
journals
-
Fields inherited from class org.apache.bookkeeper.tools.framework.CliCommand
spec
-
-
Constructor Summary
Constructors Constructor Description ReadJournalCommand()
ReadJournalCommand(ReadJournalCommand.ReadJournalFlags flags)
ReadJournalCommand(LedgerIdFormatter idFormatter, EntryFormatter entryFormatter)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
apply(ServerConfiguration conf, ReadJournalCommand.ReadJournalFlags 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
-
-
-
-
Field Detail
-
journals
java.util.List<Journal> journals
-
-
Constructor Detail
-
ReadJournalCommand
public ReadJournalCommand()
-
ReadJournalCommand
public ReadJournalCommand(LedgerIdFormatter idFormatter, EntryFormatter entryFormatter)
-
ReadJournalCommand
ReadJournalCommand(ReadJournalCommand.ReadJournalFlags flags)
-
-
Method Detail
-
apply
public boolean apply(ServerConfiguration conf, ReadJournalCommand.ReadJournalFlags cmdFlags)
- Specified by:
apply
in classBookieCommand<ReadJournalCommand.ReadJournalFlags>
-
-