Class ListenerPerformance

java.lang.Object
com.mapr.streams.listener.ListenerPerformance
All Implemented Interfaces:
Runnable

public class ListenerPerformance extends Object implements Runnable
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    boolean
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    ListenerPerformance(String streamName, int numTopics, int numPartitions, int numExpectedMsgs, int numBatches, boolean verifyKeys, boolean keysInOrder, boolean allowDuplicateKeys, boolean isTracingEnabled, boolean printProgress, String groupId, String clientId, boolean topicSubscriptions)
     
    ListenerPerformance(String streamName, String streamNameToCheck, int numTopics, int numPartitions, int numExpectedMsgs, int numBatches, boolean verifyKeys, boolean keysInOrder, boolean allowDuplicateKeys, boolean isTracingEnabled, boolean printProgress, String groupId, String clientId, boolean topicSubscriptions)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    main(String[] args)
     
    void
    reportProgress(boolean enabled)
     
    void
    run()
     
    static void
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • status

      public boolean status
  • Constructor Details

    • ListenerPerformance

      public ListenerPerformance(String streamName, int numTopics, int numPartitions, int numExpectedMsgs, int numBatches, boolean verifyKeys, boolean keysInOrder, boolean allowDuplicateKeys, boolean isTracingEnabled, boolean printProgress, String groupId, String clientId, boolean topicSubscriptions)
    • ListenerPerformance

      public ListenerPerformance(String streamName, String streamNameToCheck, int numTopics, int numPartitions, int numExpectedMsgs, int numBatches, boolean verifyKeys, boolean keysInOrder, boolean allowDuplicateKeys, boolean isTracingEnabled, boolean printProgress, String groupId, String clientId, boolean topicSubscriptions)
  • Method Details

    • usage

      public static void usage()
    • main

      public static void main(String[] args) throws Exception
      Throws:
      Exception
    • reportProgress

      public void reportProgress(boolean enabled)
    • run

      public void run()
      Specified by:
      run in interface Runnable