Class ReportsQueue

  • All Implemented Interfaces:
    java.lang.Runnable

    public class ReportsQueue
    extends java.lang.Object
    implements java.lang.Runnable
    A runnable class to manage reports queue.
    • Constructor Summary

      Constructors 
      Constructor Description
      ReportsQueue​(org.apache.http.impl.client.CloseableHttpClient httpClient, java.lang.String sessionId)
      Initializes a new instance of the class.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void run()
      Runnable flow that looks into the queue and waits for new items.
      void stop()
      Stops the runnable and the queue processing.
      • Methods inherited from class java.lang.Object

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

      • ReportsQueue

        public ReportsQueue​(org.apache.http.impl.client.CloseableHttpClient httpClient,
                            java.lang.String sessionId)
        Initializes a new instance of the class.
        Parameters:
        httpClient - HTTP client ot use for communicating with the Agent.
        sessionId - Driver session ID.
    • Method Detail

      • run

        public void run()
        Runnable flow that looks into the queue and waits for new items.
        Specified by:
        run in interface java.lang.Runnable
      • stop

        public void stop()
        Stops the runnable and the queue processing.