Package com.fasterxml.clustermate.service.metrics

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


        for (ServletBase servlet : servlets.values()) {
            if (servlet instanceof AllOperationMetrics.Provider) {
                metrics.add((AllOperationMetrics.Provider) servlet);
            }
        }
        final BackgroundMetricsAccessor metricAcc = constructMetricsAccessor(metrics);
        servlets.put(PathType.NODE_METRICS, constructNodeMetricsServlet(metricAcc));
        return new ServiceDispatchServlet<K,E,PathType>(_cluster, null, _serviceStuff, servlets);
    }
View Full Code Here


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

    protected BackgroundMetricsAccessor constructMetricsAccessor(List<AllOperationMetrics.Provider> metrics) {
        AllOperationMetrics.Provider[] providers = metrics.toArray(new AllOperationMetrics.Provider[metrics.size()]);
        return new BackgroundMetricsAccessor(_serviceStuff, _stores, providers);
    }
View Full Code Here

TOP

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

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.