mirror of https://github.com/apache/activemq.git
set the memoryUsageHighWaterMark to 70 by default
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@659527 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
87403404d2
commit
1f9e67f2b7
|
@ -19,12 +19,10 @@ package org.apache.activemq.broker.region.cursors;
|
||||||
import java.util.Collections;
|
import java.util.Collections;
|
||||||
import java.util.LinkedList;
|
import java.util.LinkedList;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
import org.apache.activemq.ActiveMQMessageAudit;
|
import org.apache.activemq.ActiveMQMessageAudit;
|
||||||
import org.apache.activemq.broker.ConnectionContext;
|
import org.apache.activemq.broker.ConnectionContext;
|
||||||
import org.apache.activemq.broker.region.Destination;
|
import org.apache.activemq.broker.region.Destination;
|
||||||
import org.apache.activemq.broker.region.MessageReference;
|
import org.apache.activemq.broker.region.MessageReference;
|
||||||
import org.apache.activemq.broker.region.QueueMessageReference;
|
|
||||||
import org.apache.activemq.command.MessageId;
|
import org.apache.activemq.command.MessageId;
|
||||||
import org.apache.activemq.usage.SystemUsage;
|
import org.apache.activemq.usage.SystemUsage;
|
||||||
|
|
||||||
|
@ -35,7 +33,7 @@ import org.apache.activemq.usage.SystemUsage;
|
||||||
* @version $Revision$
|
* @version $Revision$
|
||||||
*/
|
*/
|
||||||
public class AbstractPendingMessageCursor implements PendingMessageCursor {
|
public class AbstractPendingMessageCursor implements PendingMessageCursor {
|
||||||
protected int memoryUsageHighWaterMark = 90;
|
protected int memoryUsageHighWaterMark = 70;
|
||||||
protected int maxBatchSize = 100;
|
protected int maxBatchSize = 100;
|
||||||
protected SystemUsage systemUsage;
|
protected SystemUsage systemUsage;
|
||||||
protected int maxProducersToAudit=1024;
|
protected int maxProducersToAudit=1024;
|
||||||
|
|
Loading…
Reference in New Issue