Examples of BDBBackendStats


Examples of com.fasterxml.storemate.backend.bdbje.BDBBackendStats

        StatsConfig statsConfig = new StatsConfig()
            .setFast(config.onlyCollectFast())
            .setClear(config.resetStatsAfterCollection())
            ;
        final long start = System.currentTimeMillis();
        BDBBackendStats stats = new BDBBackendStats(config, start);
        stats.db = _store.getStats(statsConfig);
        stats.env = _store.getEnvironment().getStats(statsConfig);
        // don't accept "0 msecs" as answer :)
        stats.setTimeTakenMsecs(Math.max(1L, System.currentTimeMillis() - start));
        return stats;
    }
View Full Code Here

Examples of com.fasterxml.storemate.backend.bdbje.BDBBackendStats

    {
        StatsConfig statsConfig = new StatsConfig()
            .setFast(config.onlyCollectFast())
            .setClear(config.resetStatsAfterCollection())
            ;
        BDBBackendStats stats = new BDBBackendStats();
        stats.db = _store.getStats(statsConfig);
        stats.env = _store.getEnvironment().getStats(statsConfig);
        return stats;
    }
View Full Code Here

Examples of com.fasterxml.storemate.backend.bdbje.BDBBackendStats

        StatsConfig statsConfig = new StatsConfig()
            .setFast(config.onlyCollectFast())
            .setClear(config.resetStatsAfterCollection())
            ;
        final long start = System.currentTimeMillis();
        BDBBackendStats stats = new BDBBackendStats(config, start);
        stats.db = _store.getStats(statsConfig);
        stats.env = _store.getEnvironment().getStats(statsConfig);
        // don't accept "0 msecs" as answer :)
        stats.setTimeTakenMsecs(Math.max(1L, System.currentTimeMillis() - start));
        return stats;
    }
View Full Code Here

Examples of com.fasterxml.storemate.backend.bdbje.BDBBackendStats

        StatsConfig statsConfig = new StatsConfig()
            .setFast(config.onlyCollectFast())
            .setClear(config.resetStatsAfterCollection())
            ;
        final long start = System.currentTimeMillis();
        BDBBackendStats stats = new BDBBackendStats(config, start);
        stats.db = _store.getStats(statsConfig);
        stats.env = _store.getEnvironment().getStats(statsConfig);
        // don't accept "0 msecs" as answer :)
        stats.setTimeTakenMsecs(Math.max(1L, System.currentTimeMillis() - start));
        return stats;
    }
View Full Code Here

Examples of com.fasterxml.storemate.backend.bdbje.BDBBackendStats

    {
        StatsConfig statsConfig = new StatsConfig()
            .setFast(config.onlyCollectFast())
            .setClear(config.resetStatsAfterCollection())
            ;
        BDBBackendStats stats = new BDBBackendStats();
        stats.db = _store.getStats(statsConfig);
        stats.env = _store.getEnvironment().getStats(statsConfig);
        return stats;
    }
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.