public class MultiSourceSingleFileProcessLogConfig extends GlobalOrderProcessLogConfig
| Constructor and Description |
|---|
MultiSourceSingleFileProcessLogConfig() |
| Modifier and Type | Method and Description |
|---|---|
double |
getHighMemoryUsagePercentage() |
long |
getPendingPacketPacketsIntervalBeforeConsumption()
Gets the packets interval before consuming a pending packet
|
int |
getPendingPacketsQueueSizeThreshold() |
boolean |
isMonitorPendingOperationsMemory() |
void |
setMonitorPendingOperationsMemory(boolean memoryMonitoringEnabled)
Sets whether to enable pending packets queue memory monitoring.
|
void |
setPendingPacketPacketsIntervalBeforeConsumption(long pendingPacketPacketsIntervalBeforeConsumption)
Gets the pending time before consuming a pending packet
|
void |
setPendingPacketsQueueSizeThreshold(int pendingPacketsQueueSizeThreshold)
Sets the pending packets queue size threshold which after memory monitoring will occur.
|
String |
toString() |
getConsumeTimeout, setConsumeTimeoutpublic MultiSourceSingleFileProcessLogConfig()
public long getPendingPacketPacketsIntervalBeforeConsumption()
public void setPendingPacketPacketsIntervalBeforeConsumption(long pendingPacketPacketsIntervalBeforeConsumption)
public int getPendingPacketsQueueSizeThreshold()
public void setPendingPacketsQueueSizeThreshold(int pendingPacketsQueueSizeThreshold)
public double getHighMemoryUsagePercentage()
MemoryShortageException will be
thrown upon batch receive.public void setMonitorPendingOperationsMemory(boolean memoryMonitoringEnabled)
public boolean isMonitorPendingOperationsMemory()
public String toString()
toString in class GlobalOrderProcessLogConfigCopyright © GigaSpaces.