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 Summary
Modifier and Type Method Description UpdatePerformanceTracker.SubEntry
getAccumulatedPerformance()
The performance statistics of runnable, or null if it was executed in the current thread.void
submit(Runnable runnable, com.fishlib.base.log.LogOutputAppendable description, Consumer<Exception> onError)
Cause runnable to be executed.
-
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 executedescription
- a description for loggingonError
- 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.
-