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) |
The preferences
alma.acs.logging.preferences.UserPreferences.UserPreferences | ( | int | time, | |
int | maxLogs, | |||
int | inRate, | |||
int | outRate | |||
) |
Builds an object with the given values
time | The time frame (in minutes) | |
maxLogs | The max number of logs |
References alma.acs.logging.preferences.UserPreferences.setMaxInputRate(), alma.acs.logging.preferences.UserPreferences.setMaxLogs(), alma.acs.logging.preferences.UserPreferences.setMaxOutputRate(), and alma.acs.logging.preferences.UserPreferences.setTimeFrame().
UserPreferences alma.acs.logging.preferences.UserPreferences.clone | ( | ) | throws CloneNotSupportedException |
Return a copy of this object
References alma.acs.logging.preferences.UserPreferences.clone().
Referenced by alma.acs.logging.preferences.ExpertPrefsDlg.actionPerformed(), alma.acs.logging.preferences.UserPreferences.clone(), and alma.acs.logging.preferences.ExpertPrefsDlg.ExpertPrefsDlg().
int alma.acs.logging.preferences.UserPreferences.getDynDamping | ( | ) |
int alma.acs.logging.preferences.UserPreferences.getDynThreshold | ( | ) |
int alma.acs.logging.preferences.UserPreferences.getDynTime | ( | ) |
int alma.acs.logging.preferences.UserPreferences.getMaxInputRate | ( | ) |
int alma.acs.logging.preferences.UserPreferences.getMaxNumOfLogs | ( | ) |
Referenced by com.cosylab.logging.LoggingClient.EventHandler.actionPerformed(), and alma.acs.logging.preferences.ExpertPrefsDlg.ExpertPrefsDlg().
int alma.acs.logging.preferences.UserPreferences.getMaxOutputRate | ( | ) |
long alma.acs.logging.preferences.UserPreferences.getMillisecondsTimeFrame | ( | ) |
int alma.acs.logging.preferences.UserPreferences.getMinuteTimeFrame | ( | ) |
Referenced by com.cosylab.logging.LoggingClient.EventHandler.actionPerformed(), and alma.acs.logging.preferences.ExpertPrefsDlg.ExpertPrefsDlg().
int alma.acs.logging.preferences.UserPreferences.getTimeFrame | ( | ) |
void alma.acs.logging.preferences.UserPreferences.setDynDamping | ( | int | dynDamping | ) |
Referenced by alma.acs.logging.preferences.ExpertPrefsDlg.getPreferences().
void alma.acs.logging.preferences.UserPreferences.setDynThreshold | ( | int | dynThreshold | ) |
Referenced by alma.acs.logging.preferences.ExpertPrefsDlg.getPreferences().
void alma.acs.logging.preferences.UserPreferences.setDynTime | ( | int | dynTime | ) |
Referenced by alma.acs.logging.preferences.ExpertPrefsDlg.getPreferences().
void alma.acs.logging.preferences.UserPreferences.setMaxInputRate | ( | int | maxInputRate | ) |
void alma.acs.logging.preferences.UserPreferences.setMaxLogs | ( | int | maxLogs | ) | throws IllegalArgumentException |
Set the max number of logs
maxLogs | The max number of logs |
Referenced by com.cosylab.logging.LoggingClient.EventHandler.actionPerformed(), alma.acs.logging.preferences.ExpertPrefsDlg.getPreferences(), and alma.acs.logging.preferences.UserPreferences.UserPreferences().
void alma.acs.logging.preferences.UserPreferences.setMaxNumOfLogs | ( | int | maxNumOfLogs | ) |
void alma.acs.logging.preferences.UserPreferences.setMaxOutputRate | ( | int | maxOutputRate | ) |
void alma.acs.logging.preferences.UserPreferences.setTimeFrame | ( | int | time | ) |
Set the time frame to the given value
time | The new time frame (in minutes) |
Referenced by alma.acs.logging.preferences.ExpertPrefsDlg.getPreferences(), and alma.acs.logging.preferences.UserPreferences.UserPreferences().