Class DriverTaskThread
- java.lang.Object
-
- java.lang.Thread
-
- org.apache.iotdb.db.mpp.execution.schedule.AbstractDriverThread
-
- org.apache.iotdb.db.mpp.execution.schedule.DriverTaskThread
-
- All Implemented Interfaces:
java.io.Closeable,java.lang.AutoCloseable,java.lang.Runnable
public class DriverTaskThread extends AbstractDriverThread
the worker thread ofDriverTask
-
-
Field Summary
Fields Modifier and Type Field Description static io.airlift.units.DurationEXECUTION_TIME_SLICE-
Fields inherited from class org.apache.iotdb.db.mpp.execution.schedule.AbstractDriverThread
scheduler
-
-
Constructor Summary
Constructors Constructor Description DriverTaskThread(java.lang.String workerId, java.lang.ThreadGroup tg, IndexedBlockingQueue<DriverTask> queue, ITaskScheduler scheduler)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecute(DriverTask task)Processing a task.-
Methods inherited from class org.apache.iotdb.db.mpp.execution.schedule.AbstractDriverThread
close, run
-
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
-
-
-
-
Constructor Detail
-
DriverTaskThread
public DriverTaskThread(java.lang.String workerId, java.lang.ThreadGroup tg, IndexedBlockingQueue<DriverTask> queue, ITaskScheduler scheduler)
-
-
Method Detail
-
execute
public void execute(DriverTask task) throws java.lang.InterruptedException
Description copied from class:AbstractDriverThreadProcessing a task.- Specified by:
executein classAbstractDriverThread- Throws:
java.lang.InterruptedException
-
-