Examples of JournalingBlockBasedDataStore


Examples of net.timewalker.ffmq3.storage.data.impl.JournalingBlockBasedDataStore

        settings.setBooleanProperty("persistentStore.useJournal", true);
        settings.setIntProperty("persistentStore.maxBlockCount", 10000);
        settings.setIntProperty("persistentStore.autoExtendAmount", 500);
        QueueDefinition queueDef = new QueueDefinition(settings);
     
    LinkedDataStore dataStore = new JournalingBlockBasedDataStore(queueDef,asyncTaskManager);
        dataStore.init();
       
    return dataStore;
  }
View Full Code Here

Examples of net.timewalker.ffmq3.storage.data.impl.JournalingBlockBasedDataStore

     * @see net.timewalker.ffmq3.storage.message.impl.AbstractMessageStore#createDataStore()
     */
    protected LinkedDataStore createDataStore()
    {
        if (useJournal)
            return new JournalingBlockBasedDataStore(queueDef,asyncTaskManager);
        else
            return new BlockBasedDataStore(queueDef);
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.