Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

alma::acs::logging::table::LogEntryTableModelBase::TableUpdater Class Reference

List of all members.

Public Member Functions

void close (boolean sync)
void run ()

Private Attributes

volatile boolean terminateThread = false

Static Private Attributes

final int UPDATE_INTERVAL = 2000

Detailed Description

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

Author:
acaproni


Member Function Documentation

void alma::acs::logging::table::LogEntryTableModelBase::TableUpdater::close boolean  sync  )  [inline]
 

Terminate the thread and frees the resources

Parameters:
sync If it is true wait the termination of the threads before returning

void alma::acs::logging::table::LogEntryTableModelBase::TableUpdater::run  )  [inline]
 

The thread updating the content of the table


Member Data Documentation

volatile boolean alma::acs::logging::table::LogEntryTableModelBase::TableUpdater::terminateThread = false [private]
 

Signal the thread to terminate

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


The documentation for this class was generated from the following file:
Generated on Thu Apr 30 02:53:58 2009 for ACS Java API by doxygen 1.3.8