public class MonitorCommand 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_PORT |
protected String |
host |
static String |
INPUT_STREAM |
static String |
INTERNAL_LOG_PREFIX |
protected int |
interval |
protected List<String> |
logNames |
protected static String |
NAME |
protected String |
output |
protected int |
port |
protected String |
prefix |
protected LogStreamProcessor |
processor |
protected Topology |
topology |
protected boolean |
udp |
protected boolean |
verbose |
Constructor and Description |
---|
MonitorCommand() |
Modifier and Type | Method and Description |
---|---|
String |
getDefaultPrefix() |
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_PORT
protected boolean verbose
protected int interval
protected int count
protected LogStreamProcessor processor
protected int port
protected boolean udp
public MonitorCommand()
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)
public String getDefaultPrefix()
protected boolean runProcessor(LogManager manager)
Copyright © 2019 Nuxeo. All rights reserved.