Class AsyncUserEventAppenderSettings
java.lang.Object
net.solarnetwork.central.common.config.AsyncUserEventAppenderSettings
Settings for the
AsyncDaoUserEventAppenderBiz class.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintGet the cache removal alert threshold.intGet the statistic frequency.intGet the thread count.voidsetQueueLagAlertThreshold(int queueLagAlertThreshold) Set the cache removal alert threshold.voidsetStatFrequency(int statFrequency) Set the statistic frequency.voidsetThreads(int threads) Set the thread count.
-
Constructor Details
-
AsyncUserEventAppenderSettings
public AsyncUserEventAppenderSettings()
-
-
Method Details
-
getThreads
public int getThreads()Get the thread count.- Returns:
- the thread count
-
setThreads
public void setThreads(int threads) Set the thread count.- Parameters:
threads- the thread count to set
-
getStatFrequency
public int getStatFrequency()Get the statistic frequency.- Returns:
- the frequency
-
setStatFrequency
public void setStatFrequency(int statFrequency) Set the statistic frequency.- Parameters:
statFrequency- the frequency to set
-
getQueueLagAlertThreshold
public int getQueueLagAlertThreshold()Get the cache removal alert threshold.- Returns:
- the threshold
-
setQueueLagAlertThreshold
public void setQueueLagAlertThreshold(int queueLagAlertThreshold) Set the cache removal alert threshold.- Parameters:
queueLagAlertThreshold- the threshold to set
-