Package com.fasterxml.clustermate.service.metrics

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


    protected abstract List<CleanupTask<?>> constructCleanupTasks();

    protected BackgroundMetricsAccessor constructMetricsAccessor(SharedServiceStuff stuff,
            ClusterViewByServer cluster, Stores<K,E> stores,
            AllOperationMetrics.Provider[] metrics) {
        return new BackgroundMetricsAccessor(stuff, stores, metrics);
    }
View Full Code Here


        servlets.put(PathType.STORE_ENTRY, storeEntryServlet);
        ServletWithMetricsBase storeListServlet = constructStoreListServlet(stuff,
                cluster, storeHandler);
        servlets.put(PathType.STORE_LIST, storeListServlet);

        final BackgroundMetricsAccessor metrics = constructMetricsAccessor(stuff, cluster,
                storeHandler.getStores(),
                new AllOperationMetrics.Provider[] {
                    storeEntryServlet, storeListServlet, syncListServlet, syncPullServlet
                });
        servlets.put(PathType.NODE_METRICS, constructNodeMetricsServlet(stuff, metrics));
View Full Code Here

    protected abstract List<CleanupTask<?>> constructCleanupTasks();

    protected BackgroundMetricsAccessor constructMetricsAccessor(SharedServiceStuff stuff,
            ClusterViewByServer cluster, Stores<K,E> stores,
            AllOperationMetrics.Provider[] metrics) {
        return new BackgroundMetricsAccessor(stuff, stores, metrics);
    }
View Full Code Here

        servlets.put(PathType.STORE_ENTRY, storeEntryServlet);
        ServletWithMetricsBase storeListServlet = constructStoreListServlet(stuff,
                cluster, storeHandler);
        servlets.put(PathType.STORE_LIST, storeListServlet);

        final BackgroundMetricsAccessor metrics = constructMetricsAccessor(stuff, cluster,
                storeHandler.getStores(),
                new AllOperationMetrics.Provider[] {
                    storeEntryServlet, storeListServlet, syncListServlet, syncPullServlet
                });
        servlets.put(PathType.NODE_METRICS, constructNodeMetricsServlet(stuff, metrics));
View Full Code Here

    protected abstract List<CleanupTask<?>> constructCleanupTasks();

    protected BackgroundMetricsAccessor constructMetricsAccessor(SharedServiceStuff stuff,
            ClusterViewByServer cluster, Stores<K,E> stores,
            AllOperationMetrics.Provider[] metrics) {
        return new BackgroundMetricsAccessor(stuff, stores, metrics);
    }
View Full Code Here

        servlets.put(PathType.STORE_ENTRY, storeEntryServlet);
        ServletWithMetricsBase storeListServlet = constructStoreListServlet(stuff,
                cluster, storeHandler);
        servlets.put(PathType.STORE_LIST, storeListServlet);

        final BackgroundMetricsAccessor metrics = constructMetricsAccessor(stuff, cluster,
                storeHandler.getStores(),
                new AllOperationMetrics.Provider[] {
                    storeEntryServlet, storeListServlet, syncListServlet
                });
        servlets.put(PathType.NODE_METRICS, constructNodeMetricsServlet(stuff, metrics));
View Full Code Here

    protected abstract List<CleanupTask<?>> constructCleanupTasks();

    protected BackgroundMetricsAccessor constructMetricsAccessor(SharedServiceStuff stuff,
            ClusterViewByServer cluster, Stores<K,E> stores,
            AllOperationMetrics.Provider[] metrics) {
        return new BackgroundMetricsAccessor(stuff, stores, metrics);
    }
View Full Code Here

        servlets.put(PathType.STORE_ENTRY, storeEntryServlet);
        ServletWithMetricsBase storeListServlet = constructStoreListServlet(stuff,
                cluster, storeHandler);
        servlets.put(PathType.STORE_LIST, storeListServlet);

        final BackgroundMetricsAccessor metrics = constructMetricsAccessor(stuff, cluster,
                storeHandler.getStores(),
                new AllOperationMetrics.Provider[] {
                    storeEntryServlet, storeListServlet, syncListServlet, syncPullServlet
                });
        servlets.put(PathType.NODE_METRICS, constructNodeMetricsServlet(stuff, metrics));
View Full Code Here

        ServletWithMetricsBase storeEntryServlet = constructStoreEntryServlet();
        servlets.put(PathType.STORE_ENTRY, storeEntryServlet);
        ServletWithMetricsBase storeListServlet = constructStoreListServlet();
        servlets.put(PathType.STORE_ENTRIES, storeListServlet);

        final BackgroundMetricsAccessor metrics = constructMetricsAccessor(
                new AllOperationMetrics.Provider[] {
                    storeEntryServlet, storeListServlet, syncListServlet, syncPullServlet
                });
        servlets.put(PathType.NODE_METRICS, constructNodeMetricsServlet(metrics));
        return new ServiceDispatchServlet<K,E,PathType>(_cluster, null, _serviceStuff, servlets);
View Full Code Here

    /* Factory methods: metrics
    /**********************************************************************
     */
   
    protected BackgroundMetricsAccessor constructMetricsAccessor(AllOperationMetrics.Provider[] metrics) {
        return new BackgroundMetricsAccessor(_serviceStuff, _stores, metrics);
    }
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.