Class Tracker

java.lang.Object
java.lang.Thread
com.openclassrooms.tourguide.tracker.Tracker
All Implemented Interfaces:
Runnable

public class Tracker extends Thread
  • Field Details

    • trackingPollingInterval

      private static final long trackingPollingInterval
    • executorService

      private final ScheduledExecutorService executorService
    • tourGuideService

      private final TourGuideService tourGuideService
    • stop

      private boolean stop
  • Constructor Details

  • Method Details

    • stopTracking

      public void stopTracking()
      Assures to shut down the Tracker thread
    • trackUsers

      public void trackUsers()