Class LagCommand
- java.lang.Object
-
- org.nuxeo.lib.stream.tools.command.Command
-
- org.nuxeo.lib.stream.tools.command.LagCommand
-
public class LagCommand extends Command
Display the current lags of consumers.- Since:
- 9.3
-
-
Constructor Summary
Constructors Constructor Description LagCommand()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
lag(LogManager manager)
protected void
lag(LogManager manager, Name name)
String
name()
protected void
renderLag(Name group, List<LogLag> lags)
boolean
run(LogManager manager, org.apache.commons.cli.CommandLine cmd)
void
updateOptions(org.apache.commons.cli.Options options)
-
Methods inherited from class org.nuxeo.lib.stream.tools.command.Command
getRecordCodec, getRecordRenderer
-
-
-
-
Field Detail
-
NAME
protected static final String NAME
- See Also:
- Constant Field Values
-
verbose
protected boolean verbose
-
quiet
protected boolean quiet
-
-
Method Detail
-
updateOptions
public void updateOptions(org.apache.commons.cli.Options options)
- Specified by:
updateOptions
in classCommand
-
run
public boolean run(LogManager manager, org.apache.commons.cli.CommandLine cmd)
-
lag
protected void lag(LogManager manager)
-
lag
protected void lag(LogManager manager, Name name)
-
-