Class MultiSourceSingleFileProcessLogConfig
java.lang.Object
com.gigaspaces.internal.cluster.node.impl.processlog.ProcessLogConfig
com.gigaspaces.internal.cluster.node.impl.processlog.globalorder.GlobalOrderProcessLogConfig
com.gigaspaces.internal.cluster.node.impl.processlog.multisourcesinglefile.MultiSourceSingleFileProcessLogConfig
- Since:
- 8.0.4
- Author:
- idan
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoublelongGets the packets interval before consuming a pending packetintbooleanvoidsetMonitorPendingOperationsMemory(boolean memoryMonitoringEnabled) Sets whether to enable pending packets queue memory monitoring.voidsetPendingPacketPacketsIntervalBeforeConsumption(long pendingPacketPacketsIntervalBeforeConsumption) Gets the pending time before consuming a pending packetvoidsetPendingPacketsQueueSizeThreshold(int pendingPacketsQueueSizeThreshold) Sets the pending packets queue size threshold which after memory monitoring will occur.toString()Methods inherited from class com.gigaspaces.internal.cluster.node.impl.processlog.ProcessLogConfig
getConsumeTimeout, setConsumeTimeout
-
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
MemoryShortageExceptionwill 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
- Overrides:
toStringin classGlobalOrderProcessLogConfig
-