Public Member Functions | |
IOThread () | |
void | stopThread (boolean sync) |
Protected Attributes | |
volatile boolean | terminateThread = false |
The thread to perform IO.
alma.acs.logging.io.IOThread.IOThread | ( | ) |
Constructor
void alma.acs.logging.io.IOThread.stopThread | ( | boolean | sync | ) |
Stop the current thread by setting a boolean.
Note: the thread has to periodically check the boolean and terminate
References alma.acs.logging.io.IOThread.terminateThread.
volatile boolean alma.acs.logging.io.IOThread.terminateThread = false [protected] |
The boolean set to true
to terminate the thread.
Referenced by alma.acs.logging.io.IOThread.stopThread().