Examples of JournalTransactionStore


Examples of com.taobao.metamorphosis.server.transaction.store.JournalTransactionStore

        topics.add("topic1");
        topics.add("topic2");
        config.setTopics(topics);
        config.setDataPath(path);
        this.messageStoreManager = new MessageStoreManager(config, null);
        this.transactionStore = new JournalTransactionStore(path, this.messageStoreManager, config);
        this.journalStore = this.transactionStore.getJournalStore();
    }
View Full Code Here

Examples of com.taobao.metamorphosis.server.transaction.store.JournalTransactionStore

        this.executorsManager = new ExecutorsManager(metaConfig);
        this.idWorker = new IdWorker(metaConfig.getBrokerId());
        this.storeManager = new MessageStoreManager(metaConfig, this.newDeletePolicy(metaConfig));
        this.statsManager = new StatsManager(this.metaConfig, this.storeManager, this.remotingServer);
        this.brokerZooKeeper = new BrokerZooKeeper(metaConfig);
        JournalTransactionStore transactionStore = null;
        try {
            transactionStore = new JournalTransactionStore(metaConfig.getDataLogPath(), this.storeManager, metaConfig);
        }
        catch (final Exception e) {
            throw new MetamorphosisServerStartupException("Initializing transaction store failed", e);
        }
        try {
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.