Public Member Functions | |
| void | close (boolean sync) |
| void | run () |
Private Attributes | |
| volatile boolean | terminateThread = false |
Static Private Attributes | |
| static final int | UPDATE_INTERVAL = 2000 |
To reduce the overload refreshing the content of the table when a lot of logs have been added or removed, the refresh is triggered only after a certain amount of time.
Objects from this class check if there have been changes and fire the event
| void alma::acs::logging::table::LogEntryTableModelBase::TableUpdater::close | ( | boolean | sync | ) | [inline] |
Terminate the thread and frees the resources
| sync | If it is true wait the termination of the threads before returning |
References terminateThread.
Referenced by alma::acs::logging::table::LogEntryTableModelBase::close().
| void alma::acs::logging::table::LogEntryTableModelBase::TableUpdater::run | ( | ) | [inline] |
The thread updating the content of the table
References terminateThread, UPDATE_INTERVAL, and alma::acs::logging::table::LogEntryTableModelBase::updateTableEntries().
volatile boolean alma::acs::logging::table::LogEntryTableModelBase::TableUpdater::terminateThread = false [private] |
final int alma::acs::logging::table::LogEntryTableModelBase::TableUpdater::UPDATE_INTERVAL = 2000 [static, private] |
The interval (msec) between two refreshes of the content of the table
Referenced by run().
1.6.2