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

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


Member Function Documentation

UserPreferences alma::acs::logging::preferences::UserPreferences::clone  )  throws CloneNotSupportedException [inline]
 

Return a copy of this object

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]
 

Returns:
The max number of logs

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

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

Returns:
The time frame length in minutes

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

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]
 

Set the max number of logs

Parameters:
maxLogs The max number of logs

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)


Member Data Documentation

int alma::acs::logging::preferences::UserPreferences::dynDamping = 0 [private]
 

The damping factor for dynamic discard level

int alma::acs::logging::preferences::UserPreferences::dynThreshold = Integer.MAX_VALUE [private]
 

The threshold to activate dynamic discard level

int alma::acs::logging::preferences::UserPreferences::dynTime = 1 [private]
 

The time (seconds) for dynamic discard level

int alma::acs::logging::preferences::UserPreferences::maxInputRate = Integer.MAX_VALUE [private]
 

Max number of logs per second read from the NC.

See also:
ACSLogRetrieval}

int alma::acs::logging::preferences::UserPreferences::maxNumOfLogs = 0 [private]
 

The max number of logs

int alma::acs::logging::preferences::UserPreferences::maxOutputRate = Integer.MAX_VALUE [private]
 

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

See also:
ACSLogRetrieval}

int alma::acs::logging::preferences::UserPreferences::timeFrame = 0 [private]
 

The time frame (in minutes)


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