public class TrackerCommand extends Command
Modifier and Type | Field and Description |
---|---|
protected static String |
ALL_LOGS |
protected String |
codec |
static String |
COMPUTATION_NAME |
protected int |
count |
protected static String |
DEFAULT_COUNT |
protected static String |
DEFAULT_INTERVAL |
protected static String |
DEFAULT_LATENCIES_LOG |
static String |
INPUT_STREAM |
static String |
INTERNAL_LOG_PREFIX |
protected int |
interval |
protected List<String> |
logNames |
protected static String |
NAME |
protected String |
output |
protected LogStreamProcessor |
processor |
protected Topology |
topology |
protected boolean |
verbose |
Constructor and Description |
---|
TrackerCommand() |
Modifier and Type | Method and Description |
---|---|
protected List<String> |
getLogNames(LogManager manager,
String names) |
protected void |
initTopology(LogManager manager) |
String |
name() |
boolean |
run(LogManager manager,
org.apache.commons.cli.CommandLine cmd) |
protected boolean |
runProcessor(LogManager manager) |
void |
updateOptions(org.apache.commons.cli.Options options) |
getRecordCodec, getRecordRenderer
public static final String COMPUTATION_NAME
public static final String INPUT_STREAM
public static final String INTERNAL_LOG_PREFIX
protected static final String NAME
protected static final String DEFAULT_INTERVAL
protected static final String DEFAULT_COUNT
protected static final String ALL_LOGS
protected static final String DEFAULT_LATENCIES_LOG
protected boolean verbose
protected int interval
protected int count
protected LogStreamProcessor processor
public TrackerCommand()
public void updateOptions(org.apache.commons.cli.Options options)
updateOptions
in class Command
public boolean run(LogManager manager, org.apache.commons.cli.CommandLine cmd)
protected List<String> getLogNames(LogManager manager, String names)
protected void initTopology(LogManager manager)
protected boolean runProcessor(LogManager manager)
Copyright © 2019 Nuxeo. All rights reserved.