Class TrackerLogger

  • All Implemented Interfaces:
    java.lang.Runnable

    public class TrackerLogger
    extends java.lang.Object
    implements java.lang.Runnable
    Runnable object providing insertion into the database. TrackerLogger is created for a specific connection and table.
    Author:
    dbutano
    • Constructor Summary

      Constructors 
      Constructor Description
      TrackerLogger​(java.sql.Connection connection, java.util.Queue<Track> trackQueue)
      Construct a TrackerLogger for a specific connection and table
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void run()
      • Methods inherited from class java.lang.Object

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

      • TrackerLogger

        public TrackerLogger​(java.sql.Connection connection,
                             java.util.Queue<Track> trackQueue)
        Construct a TrackerLogger for a specific connection and table
        Parameters:
        connection - the connection to the database
        trackQueue - track queue
    • Method Detail

      • run

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