Class AsyncUserEventAppenderSettings

java.lang.Object
net.solarnetwork.central.common.config.AsyncUserEventAppenderSettings

public class AsyncUserEventAppenderSettings extends Object
Settings for the AsyncDaoUserEventAppenderBiz class.
  • 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