Class Runner


  • public class Runner
    extends Object
    Author:
    Einar M R Rosenvinge, dybis
    • Constructor Detail

      • Runner

        public Runner()
    • Method Detail

      • send

        public static long send​(FeedClient feedClient,
                                InputStream inputStream,
                                boolean isJson,
                                AtomicInteger numSent,
                                boolean verbose)
        Feed data from inputFile to session.
        Parameters:
        feedClient - where to send data to
        inputStream - source of data
        isJson - if input stream is of json formatted data
        numSent - is updated while sending by this method
        verbose - if true will print some information to stderr
        Returns:
        send time in ms, not including validating