1 10 11 package org.mule.impl.space; 12 13 import org.mule.util.queue.MemoryPersistenceStrategy; 14 15 19 public class VMSpaceFactory extends DefaultSpaceFactory 20 { 21 22 public VMSpaceFactory() 23 { 24 super(); 25 } 26 27 public VMSpaceFactory(boolean enableMonitorEvents) 28 { 29 super(enableMonitorEvents); 30 setPersistenceStrategy(new MemoryPersistenceStrategy()); 31 } 32 33 public VMSpaceFactory(boolean enableMonitorEvents, int capacity) 34 { 35 super(enableMonitorEvents, capacity); 36 setPersistenceStrategy(new MemoryPersistenceStrategy()); 37 } 38 39 public VMSpaceFactory(boolean enableMonitorEvents, boolean enableCaching) 40 { 41 super(enableMonitorEvents); 42 setPersistenceStrategy(new MemoryPersistenceStrategy()); 43 setEnableCaching(enableCaching); 44 } 45 46 public VMSpaceFactory(boolean enableMonitorEvents, int capacity, boolean enableCaching) 47 { 48 super(enableMonitorEvents, capacity); 49 setPersistenceStrategy(new MemoryPersistenceStrategy()); 50 setEnableCaching(enableCaching); 51 } 52 53 } 54 | Popular Tags |