Interface SelectAndViewAnalyzer.JobScheduler

All Known Implementing Classes:
SelectAndViewAnalyzer.ImmediateJobScheduler, SelectAndViewAnalyzer.LiveTableMonitorJobScheduler, SelectAndViewAnalyzer.TableMapTransformJobScheduler
Enclosing class:
SelectAndViewAnalyzer

public static interface SelectAndViewAnalyzer.JobScheduler
An interface for submitting jobs to be executed and accumulating their performance.
  • Method Details

    • submit

      void submit​(Runnable runnable, com.fishlib.base.log.LogOutputAppendable description, Consumer<Exception> onError)
      Cause runnable to be executed.
      Parameters:
      runnable - the runnable to execute
      description - a description for logging
      onError - a routine to call if an exception occurs while running runnable
    • getAccumulatedPerformance

      UpdatePerformanceTracker.SubEntry getAccumulatedPerformance()
      The performance statistics of runnable, or null if it was executed in the current thread.