Package com.fasterxml.clustermate.service.metrics

Examples of com.fasterxml.clustermate.service.metrics.ExternalMetrics


            SerializedMetrics ser = _cachedMetrics.get();
            long now = _timeMaster.currentTimeMillis();
   
            if (_shouldRefresh(forceRefresh, now, ser)) {
                ExternalMetrics metrics = _gatherMetrics(now, full);
                byte[] raw;
                    raw = _jsonWriter
                            // for diagnostics:
                            .withDefaultPrettyPrinter()
                            .writeValueAsBytes(metrics);
View Full Code Here


    /**********************************************************************
     */

    protected ExternalMetrics _gatherMetrics(long creationTime, boolean fullStats)
    {
        ExternalMetrics metrics = new ExternalMetrics(creationTime);
        StoreBackend entries = _entryStore.getBackend();
        BackendStatsConfig conf = BACKEND_STATS_CONFIG;
        if (fullStats) {
            conf = conf.onlyCollectFast(false);
        }
View Full Code Here

TOP

Related Classes of com.fasterxml.clustermate.service.metrics.ExternalMetrics

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.