mirror of https://github.com/apache/activemq.git
increase the default cache size
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@492995 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
d2bff5d8ed
commit
aebb18cc57
|
@ -57,7 +57,7 @@ public class KahaPersistenceAdapter implements PersistenceAdapter{
|
||||||
ConcurrentHashMap<ActiveMQDestination, MessageStore> messageStores=new ConcurrentHashMap<ActiveMQDestination, MessageStore>();
|
ConcurrentHashMap<ActiveMQDestination, MessageStore> messageStores=new ConcurrentHashMap<ActiveMQDestination, MessageStore>();
|
||||||
protected OpenWireFormat wireFormat=new OpenWireFormat();
|
protected OpenWireFormat wireFormat=new OpenWireFormat();
|
||||||
private long maxDataFileLength=32*1024*1024;
|
private long maxDataFileLength=32*1024*1024;
|
||||||
protected int maximumDestinationCacheSize=2000;
|
protected int maximumDestinationCacheSize=10000;
|
||||||
private String indexType=IndexTypes.DISK_INDEX;
|
private String indexType=IndexTypes.DISK_INDEX;
|
||||||
private File dir;
|
private File dir;
|
||||||
private Store theStore;
|
private Store theStore;
|
||||||
|
|
Loading…
Reference in New Issue