public class ThreadedFileIOBase
extends java.lang.Object
implements java.lang.Runnable
Modifier and Type | Method and Description |
---|---|
static ThreadedFileIOBase |
getThreadedIOInstance()
Retrieves an instance of the threadedFileIOBase.
|
void |
queueIO(IThreadedFileIO fileIo)
Queues an IO task.
|
void |
run() |
void |
waitForFinish()
Causes the current thread to block until all pending IO tasks have been written, and also disables the sleep
between IO tasks until that time.
|
public static ThreadedFileIOBase getThreadedIOInstance()
public void run()
run
in interface java.lang.Runnable
public void queueIO(IThreadedFileIO fileIo)
public void waitForFinish() throws java.lang.InterruptedException
java.lang.InterruptedException