Class LatencyCommand

java.lang.Object
org.nuxeo.lib.stream.tools.command.Command
org.nuxeo.lib.stream.tools.command.LatencyCommand

public class LatencyCommand extends Command
Display the current latencies of consumers.
Since:
9.3
  • Field Details

  • Constructor Details

    • LatencyCommand

      public LatencyCommand()
  • Method Details

    • name

      public String name()
      Specified by:
      name in class Command
    • updateOptions

      public void updateOptions(org.apache.commons.cli.Options options)
      Specified by:
      updateOptions in class Command
    • run

      public boolean run(LogManager manager, org.apache.commons.cli.CommandLine cmd)
      Specified by:
      run in class Command
    • latency

      protected void latency(LogManager manager, Codec<Record> codec)
    • latency

      protected void latency(LogManager manager, Name name, Codec<Record> codec)
    • renderLatency

      protected void renderLatency(Name group, List<Latency> latencies)
    • formatDate

      protected String formatDate(long timestamp)
    • formatInterval

      protected static String formatInterval(long l)