Class SelectAndViewAnalyzer.LiveTableMonitorJobScheduler
java.lang.Object
com.illumon.iris.db.v2.select.analyzers.SelectAndViewAnalyzer.LiveTableMonitorJobScheduler
- All Implemented Interfaces:
SelectAndViewAnalyzer.JobScheduler
- Enclosing class:
- SelectAndViewAnalyzer
public static class SelectAndViewAnalyzer.LiveTableMonitorJobScheduler extends Object implements SelectAndViewAnalyzer.JobScheduler
-
Constructor Summary
Constructors Constructor Description LiveTableMonitorJobScheduler()
-
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.
-
Constructor Details
-
LiveTableMonitorJobScheduler
public LiveTableMonitorJobScheduler()
-
-
Method Details
-
submit
public void submit(Runnable runnable, com.fishlib.base.log.LogOutputAppendable description, Consumer<Exception> onError)Description copied from interface:SelectAndViewAnalyzer.JobScheduler
Cause runnable to be executed.- Specified by:
submit
in interfaceSelectAndViewAnalyzer.JobScheduler
- Parameters:
runnable
- the runnable to executedescription
- a description for loggingonError
- a routine to call if an exception occurs while running runnable
-
getAccumulatedPerformance
Description copied from interface:SelectAndViewAnalyzer.JobScheduler
The performance statistics of runnable, or null if it was executed in the current thread.- Specified by:
getAccumulatedPerformance
in interfaceSelectAndViewAnalyzer.JobScheduler
-