public class DumpCommand extends Command
Constructor and Description |
---|
DumpCommand() |
Modifier and Type | Method and Description |
---|---|
protected void |
dump(LogManager manager,
String name,
int partition,
String group,
int limit,
String codec,
Path output) |
protected LogTailer<Record> |
getTailer(LogManager manager,
String name,
int partition,
String group,
String codec) |
String |
name() |
boolean |
run(LogManager manager,
org.apache.commons.cli.CommandLine cmd) |
void |
updateOptions(org.apache.commons.cli.Options options) |
getRecordCodec, getRecordRenderer
protected static final String NAME
public DumpCommand()
public void updateOptions(org.apache.commons.cli.Options options)
updateOptions
in class Command
public boolean run(LogManager manager, org.apache.commons.cli.CommandLine cmd) throws InterruptedException
run
in class Command
InterruptedException
protected void dump(LogManager manager, String name, int partition, String group, int limit, String codec, Path output) throws InterruptedException
InterruptedException
Copyright © 2019 Nuxeo. All rights reserved.