Class MultiSourceSingleFileProcessLogConfig


public class MultiSourceSingleFileProcessLogConfig extends GlobalOrderProcessLogConfig
Since:
8.0.4
Author:
idan
  • Constructor Details

    • MultiSourceSingleFileProcessLogConfig

      public MultiSourceSingleFileProcessLogConfig()
  • Method Details

    • getPendingPacketPacketsIntervalBeforeConsumption

      public long getPendingPacketPacketsIntervalBeforeConsumption()
      Gets the packets interval before consuming a pending packet
    • setPendingPacketPacketsIntervalBeforeConsumption

      public void setPendingPacketPacketsIntervalBeforeConsumption(long pendingPacketPacketsIntervalBeforeConsumption)
      Gets the pending time before consuming a pending packet
    • getPendingPacketsQueueSizeThreshold

      public int getPendingPacketsQueueSizeThreshold()
      Returns:
      Pending packets queue size threshold which after memory monitoring will occur.
    • setPendingPacketsQueueSizeThreshold

      public void setPendingPacketsQueueSizeThreshold(int pendingPacketsQueueSizeThreshold)
      Sets the pending packets queue size threshold which after memory monitoring will occur.
    • getHighMemoryUsagePercentage

      public double getHighMemoryUsagePercentage()
      Returns:
      The memory usage percentage which after a MemoryShortageException will be thrown upon batch receive.
    • setMonitorPendingOperationsMemory

      public void setMonitorPendingOperationsMemory(boolean memoryMonitoringEnabled)
      Sets whether to enable pending packets queue memory monitoring.
    • isMonitorPendingOperationsMemory

      public boolean isMonitorPendingOperationsMemory()
      Returns:
      Whether pending packets queue memory monitoring is enabled.
    • toString

      public String toString()
      Overrides:
      toString in class GlobalOrderProcessLogConfig