Class CascadeTracker

All Implemented Interfaces:
Tracker

public class CascadeTracker extends ActivatableTracker
  • Field Details

    • LOGGER

      protected static final org.slf4j.Logger LOGGER
  • Constructor Details

  • Method Details

    • getWriteLock

      public Semaphore getWriteLock()
      Description copied from class: AbstractTracker
      Trackers implementing this method should decide if the Write Lock is applied globally for every Tracker Thread (static) or locally for each running Thread
      Specified by:
      getWriteLock in interface Tracker
      Specified by:
      getWriteLock in class AbstractTracker
    • getRunLock

      public Semaphore getRunLock()
      Description copied from class: AbstractTracker
      Trackers implementing this method should decide if the Run Lock is applied globally for every Tracker Thread (static) or locally for each running Thread
      Specified by:
      getRunLock in class AbstractTracker
    • doTrack

      protected void doTrack(String iterationId) throws IOException, org.json.JSONException
      Description copied from class: AbstractTracker
      Subclasses must implement behaviour that completes the following steps, in order:
      1. Purge
      2. Reindex
      3. Index
      4. Track repository
      Specified by:
      doTrack in class AbstractTracker
      Parameters:
      iterationId - an identifier which is uniquely associated with a given iteration.
      Throws:
      IOException
      org.json.JSONException
    • maintenance

      public void maintenance()
    • hasMaintenance

      public boolean hasMaintenance()
    • invalidateState

      public void invalidateState()
      Specified by:
      invalidateState in interface Tracker
      Overrides:
      invalidateState in class AbstractTracker