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

static 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

References terminateThread.

Referenced by alma::acs::logging::table::LogEntryTableModelBase::close().

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

Member Data Documentation

Signal the thread to terminate

Referenced by close(), and run().

The interval (msec) between two refreshes of the content of the table

Referenced by run().


The documentation for this class was generated from the following file:

Generated by  doxygen 1.6.2