Package org.voltdb

Examples of org.voltdb.PlannerStatsCollector


        // In mock test environments there may be no stats agent.
        synchronized (this) {
            if (m_plannerStats == null) {
                final StatsAgent statsAgent = VoltDB.instance().getStatsAgent();
                if (statsAgent != null) {
                    m_plannerStats = new PlannerStatsCollector(-1);
                    statsAgent.registerStatsSource(StatsSelector.PLANNER, -1, m_plannerStats);
                }
            }
        }
    }
View Full Code Here


        m_siteId = siteId;
        org.voltdb.EELibraryLoader.loadExecutionEngineLibrary(true);
        // In mock test environments there may be no stats agent.
        final StatsAgent statsAgent = VoltDB.instance().getStatsAgent();
        if (statsAgent != null) {
            m_plannerStats = new PlannerStatsCollector(siteId);
            statsAgent.registerStatsSource(StatsSelector.PLANNER, siteId, m_plannerStats);
        }
    }
View Full Code Here

TOP

Related Classes of org.voltdb.PlannerStatsCollector

Copyright © 2018 www.massapicom. 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.