public class LatencyCommand extends Command
| Modifier and Type | Field and Description |
|---|---|
protected static String |
NAME |
protected boolean |
verbose |
| Constructor and Description |
|---|
LatencyCommand() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
formatDate(long timestamp) |
protected static String |
formatInterval(long l) |
protected void |
latency(LogManager manager,
Codec<Record> codec) |
protected void |
latency(LogManager manager,
String name,
Codec<Record> codec) |
String |
name() |
protected void |
renderLatency(String group,
List<Latency> latencies) |
boolean |
run(LogManager manager,
org.apache.commons.cli.CommandLine cmd) |
void |
updateOptions(org.apache.commons.cli.Options options) |
getRecordCodec, getRecordRendererprotected static final String NAME
protected boolean verbose
public LatencyCommand()
public void updateOptions(org.apache.commons.cli.Options options)
updateOptions in class Commandpublic boolean run(LogManager manager, org.apache.commons.cli.CommandLine cmd)
protected void latency(LogManager manager, Codec<Record> codec)
protected void latency(LogManager manager, String name, Codec<Record> codec)
protected void renderLatency(String group, List<Latency> latencies)
protected String formatDate(long timestamp)
protected static String formatInterval(long l)
Copyright © 2019 Nuxeo. All rights reserved.