Class EventCheckTask

java.lang.Object
offlineProcessing.OfflineTask
clickDetector.offlineFuncs.eventtasks.EventCheckTask
All Implemented Interfaces:
DatabaseCheckObserver

public class EventCheckTask extends OfflineTask implements DatabaseCheckObserver
Event check repair task, so it can be called from batch processor since events are probably all in memory, ignore normal ways of accessing data and do own things.
Author:
dg50
  • Constructor Details Link icon

  • Method Details Link icon

    • getName Link icon

      public String getName()
      Specified by:
      getName in class OfflineTask
      Returns:
      a name for the task, to be displayed in the dialog.
    • processDataUnit Link icon

      public boolean processDataUnit(PamDataUnit dataUnit)
      Description copied from class: OfflineTask
      Process a single data unit.
      Specified by:
      processDataUnit in class OfflineTask
      Returns:
      true if the data unit has changed in some way so that it will need re-writing to it's binary file or database.
    • newDataLoad Link icon

      public void newDataLoad(long startTime, long endTime, OfflineDataMapPoint mapPoint)
      Description copied from class: OfflineTask
      Called when new data are loaded for offline processing (or once at the start of processing loaded data).
      Specified by:
      newDataLoad in class OfflineTask
      Parameters:
      startTime - start time of loaded data
      endTime - end time of loaded data
    • loadedDataComplete Link icon

      public void loadedDataComplete()
      Description copied from class: OfflineTask
      Called when processing of loaded data, or each map point worth of data, is complete.
      Specified by:
      loadedDataComplete in class OfflineTask
    • checkProgress Link icon

      public void checkProgress(String text, int totalTasks, int taskNumber, int percent)
      Specified by:
      checkProgress in interface DatabaseCheckObserver
    • checkOutputText Link icon

      public void checkOutputText(String text, int warnLevel)
      Specified by:
      checkOutputText in interface DatabaseCheckObserver
    • stopChecks Link icon

      public boolean stopChecks()
      Specified by:
      stopChecks in interface DatabaseCheckObserver