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 |
|
Builds an object with the given values
|
|
Return a copy of this object |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Set the max number of logs
|
|
|
|
|
|
Set the time frame to the given value
|
|
The damping factor for dynamic discard level |
|
The threshold to activate dynamic discard level |
|
The time (seconds) for dynamic discard level |
|
Max number of logs per second read from the NC.
|
|
The max number of logs |
|
Max number of logs per second that the engine sends to the table.
|
|
The time frame (in minutes) |