Class WorkCatCommand
java.lang.Object
org.nuxeo.lib.stream.tools.command.Command
org.nuxeo.lib.stream.tools.command.WorkCatCommand
Output information of Work in a StreamWorkManager Queue.
- Since:
- 11.5
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
deserialize
(byte[] data) name()
boolean
run
(LogManager manager, org.apache.commons.cli.CommandLine cmd) void
updateOptions
(org.apache.commons.cli.Options options) protected void
workStat
(LogManager manager, Name name, Name group, int limit, String codec) Methods inherited from class org.nuxeo.lib.stream.tools.command.Command
getRecordCodec, getRecordRenderer
-
Field Details
-
NAME
- See Also:
-
-
Constructor Details
-
WorkCatCommand
public WorkCatCommand()
-
-
Method Details
-
name
-
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) throws InterruptedException - Specified by:
run
in classCommand
- Throws:
InterruptedException
-
workStat
protected void workStat(LogManager manager, Name name, Name group, int limit, String codec) throws InterruptedException - Throws:
InterruptedException
-
deserialize
-