Class Command

java.lang.Object
org.nuxeo.lib.stream.tools.command.Command
Direct Known Subclasses:
AppendCommand, CatCommand, CopyCommand, DumpCommand, HelpCommand, LagCommand, LatencyCommand, MonitorCommand, PositionCommand, RestoreCommand, TailCommand, TestCommand, TrackerCommand, WorkCatCommand

public abstract class Command extends Object
Since:
9.3
  • Constructor Details

    • Command

      public Command()
  • Method Details

    • name

      public abstract String name()
    • updateOptions

      public abstract void updateOptions(org.apache.commons.cli.Options options)
    • run

      public abstract boolean run(LogManager manager, org.apache.commons.cli.CommandLine cmd) throws InterruptedException
      Throws:
      InterruptedException
    • getRecordRenderer

      protected Renderer getRecordRenderer(String render, String avroSchemaStorePath, int dataSize)
    • getRecordCodec

      protected Codec<Record> getRecordCodec(String codec)