Public Member Functions | |
LogDeleter () | |
void | close (boolean sync) |
void | run () |
Private Attributes | |
final int | TIME_INTERVAL = 30 |
Thread | deleterThread = null |
volatile boolean | terminateThread = false |
|
Constructor |
|
Terminate the thread
|
|
The thread to delete logs. The table is notified about the deletion of the logs but logs are removed from the data structures of the model later by a dedicated thread |
|
The thread to delete logs The deletion must be done asynchronously to avoid blocking the GUI |
|
Signal the thread to terminate |
|
The time interval between two iteration of the thread |