Class ListenerPerformance

  • All Implemented Interfaces:
    java.lang.Runnable

    public class ListenerPerformance
    extends java.lang.Object
    implements java.lang.Runnable
    • Field Summary

      Fields 
      Modifier and Type Field Description
      boolean status  
    • Constructor Summary

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

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static void main​(java.lang.String[] args)  
      void reportProgress​(boolean enabled)  
      void run()  
      static void usage()  
      • Methods inherited from class java.lang.Object

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

      • status

        public boolean status
    • Constructor Detail

      • ListenerPerformance

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

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

      • usage

        public static void usage()
      • main

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

        public void reportProgress​(boolean enabled)
      • run

        public void run()
        Specified by:
        run in interface java.lang.Runnable