Package io.github.ai4ci.flow
Class QueueWriter
java.lang.Object
java.lang.Thread
io.github.ai4ci.flow.QueueWriter
- All Implemented Interfaces:
CSVWriter.Queue
,Runnable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler
-
Field Summary
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
-
Constructor Summary
Constructors -
Method Summary
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
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface io.github.ai4ci.flow.CSVWriter.Queue
join
-
Constructor Details
-
QueueWriter
- Throws:
IOException
-
-
Method Details
-
submit
- Specified by:
submit
in interfaceCSVWriter.Queue
-
halt
public void halt()- Specified by:
halt
in interfaceCSVWriter.Queue
-
run
public void run() -
flush
public void flush()- Specified by:
flush
in interfaceCSVWriter.Queue
-
isWaiting
public boolean isWaiting()- Specified by:
isWaiting
in interfaceCSVWriter.Queue
-
report
- Specified by:
report
in interfaceCSVWriter.Queue
-