Class DbPullRunner
- java.lang.Object
-
- java.lang.Thread
-
- io.opensw.scheduler.core.scheduler.DbPullRunner
-
- All Implemented Interfaces:
java.lang.Runnable
@Component public class DbPullRunner extends java.lang.Thread
-
-
Constructor Summary
Constructors Constructor Description DbPullRunner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidinterval(long interval)Change interval durationvoidrun()voidterminate()Set running to false to thread exit-
Methods inherited from class java.lang.Thread
activeCount, checkAccess, clone, countStackFrames, currentThread, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, onSpinWait, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, suspend, toString, yield
-
-
-
-
Method Detail
-
run
public void run()
- Specified by:
runin interfacejava.lang.Runnable- Overrides:
runin classjava.lang.Thread
-
terminate
public void terminate()
Set running to false to thread exit
-
interval
public void interval(long interval)
Change interval duration- Parameters:
interval- value to change
-
-