alma::acs::logging::preferences::UserPreferences Class Reference

List of all members.

Public Member Functions

 UserPreferences (int time, int maxLogs, int inRate, int outRate)
void setTimeFrame (int time)
void setMaxLogs (int maxLogs) throws IllegalArgumentException
int getMaxNumOfLogs ()
int getMinuteTimeFrame ()
long getMillisecondsTimeFrame ()
int getMaxInputRate ()
void setMaxInputRate (int maxInputRate)
int getMaxOutputRate ()
void setMaxOutputRate (int maxOutputRate)
UserPreferences clone () throws CloneNotSupportedException
int getDynThreshold ()
void setDynThreshold (int dynThreshold)
int getDynDamping ()
void setDynDamping (int dynDamping)
int getDynTime ()
void setDynTime (int dynTime)
int getTimeFrame ()
void setMaxNumOfLogs (int maxNumOfLogs)

Private Attributes

int timeFrame = 0
int maxNumOfLogs = 0
int maxInputRate = Integer.MAX_VALUE
int maxOutputRate = Integer.MAX_VALUE
int dynThreshold = Integer.MAX_VALUE
int dynDamping = 0
int dynTime = 1

Detailed Description

The preferences

Author:
acaproni

Constructor & Destructor Documentation

alma::acs::logging::preferences::UserPreferences::UserPreferences ( int  time,
int  maxLogs,
int  inRate,
int  outRate 
) [inline]

Builds an object with the given values

Parameters:
time The time frame (in minutes)
maxLogs The max number of logs

References setMaxInputRate(), setMaxLogs(), setMaxOutputRate(), and setTimeFrame().


Member Function Documentation

UserPreferences alma::acs::logging::preferences::UserPreferences::clone (  )  throws CloneNotSupportedException [inline]
int alma::acs::logging::preferences::UserPreferences::getDynDamping (  )  [inline]
int alma::acs::logging::preferences::UserPreferences::getDynThreshold (  )  [inline]
int alma::acs::logging::preferences::UserPreferences::getDynTime (  )  [inline]
int alma::acs::logging::preferences::UserPreferences::getMaxInputRate (  )  [inline]
int alma::acs::logging::preferences::UserPreferences::getMaxNumOfLogs (  )  [inline]
int alma::acs::logging::preferences::UserPreferences::getMaxOutputRate (  )  [inline]
long alma::acs::logging::preferences::UserPreferences::getMillisecondsTimeFrame (  )  [inline]
Returns:
The length of the time frame in milliseconds

References timeFrame.

Referenced by com::cosylab::logging::LoggingClient::EventHandler::actionPerformed(), and com::cosylab::logging::LoggingClient::initialize().

int alma::acs::logging::preferences::UserPreferences::getMinuteTimeFrame (  )  [inline]
int alma::acs::logging::preferences::UserPreferences::getTimeFrame (  )  [inline]

References timeFrame.

void alma::acs::logging::preferences::UserPreferences::setDynDamping ( int  dynDamping  )  [inline]
void alma::acs::logging::preferences::UserPreferences::setDynThreshold ( int  dynThreshold  )  [inline]
void alma::acs::logging::preferences::UserPreferences::setDynTime ( int  dynTime  )  [inline]
void alma::acs::logging::preferences::UserPreferences::setMaxInputRate ( int  maxInputRate  )  [inline]
void alma::acs::logging::preferences::UserPreferences::setMaxLogs ( int  maxLogs  )  throws IllegalArgumentException [inline]
void alma::acs::logging::preferences::UserPreferences::setMaxNumOfLogs ( int  maxNumOfLogs  )  [inline]
void alma::acs::logging::preferences::UserPreferences::setMaxOutputRate ( int  maxOutputRate  )  [inline]
void alma::acs::logging::preferences::UserPreferences::setTimeFrame ( int  time  )  [inline]

Set the time frame to the given value

Parameters:
time The new time frame (in minutes)

References timeFrame.

Referenced by com::cosylab::logging::LoggingClient::EventHandler::actionPerformed(), alma::acs::logging::preferences::ExpertPrefsDlg::getPreferences(), and UserPreferences().


Member Data Documentation

The damping factor for dynamic discard level

Referenced by getDynDamping().

The threshold to activate dynamic discard level

Referenced by getDynThreshold().

The time (seconds) for dynamic discard level

Referenced by getDynTime().

Max number of logs per second read from the NC.

See also:
ACSLogRetrieval}

Referenced by getMaxInputRate().

The max number of logs

Referenced by getMaxNumOfLogs(), and setMaxLogs().

Max number of logs per second that the engine sends to the table.

See also:
ACSLogRetrieval}

Referenced by getMaxOutputRate().

The time frame (in minutes)

Referenced by getMillisecondsTimeFrame(), getMinuteTimeFrame(), getTimeFrame(), and setTimeFrame().


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

Generated by  doxygen 1.6.2