Examples of StoreStats


Examples of voldemort.store.stats.StoreStats

            this.identifierString = str;
        } else {
            this.identifierString = "-" + str;
        }
        this.maxBootstrapRetries = config.getMaxBootstrapRetries();
        this.aggregateStats = new StoreStats("aggregate.abstract-store-client-factory");
        this.storeClientFactoryStats = new StoreClientFactoryStats();
        this.clientContextName = config.getClientContextName();
        this.routedStoreConfig = new RoutedStoreConfig(config);
        this.routedStoreConfig.setIdentifierString(this.identifierString);
View Full Code Here

Examples of voldemort.store.stats.StoreStats

                                                         config.getNumRestServiceStorageThreads(),
                                                         0L,
                                                         TimeUnit.MILLISECONDS,
                                                         new LinkedBlockingQueue<Runnable>(config.getRestServiceStorageThreadPoolQueueSize()),
                                                         threadFactory);
        this.aggregatedStoreStats = new StoreStats("aggregate.rest-pipeline-factory");
        createAndRegisterMBeansForAllStoreStats(config, storeDefinitions);

        storageExecutionHandler = new StorageExecutionHandler(threadPoolExecutor,
                                                              storeStatsMap,
                                                              aggregatedStoreStats,
View Full Code Here

Examples of voldemort.store.stats.StoreStats

        boolean isJmxEnabled = config.isJmxEnabled();
        for(StoreDefinition storeDefinition: Utils.nonNull(storeDefinitions)) {
            String storeName = storeDefinition.getName();

            // Add to concurrentHashMap
            storeStatsMap.put(storeName, new StoreStats(storeName, aggregatedStoreStats));

            // Register storeStats MBeans for every store
            if(isJmxEnabled) {
                JmxUtils.registerMbean(new StoreStatsJmx(storeStatsMap.get(storeName)),
                                       JmxUtils.createObjectName(JmxUtils.getPackageName(this.getClass())
View Full Code Here

Examples of voldemort.store.stats.StoreStats

                String storeName = store.getName();

                performanceStats = storeStatsMap.get(storeName);
                if(performanceStats == null) {
                    // Add to concurrentHashMap
                    storeStatsMap.putIfAbsent(storeName, new StoreStats(storeName, aggregatedStoreStats));
                    performanceStats = storeStatsMap.get(storeName);

                    // Register MBeans for new store performance stats
                    if(isJmxEnabled) {
                        JmxUtils.registerMbean(new StoreStatsJmx(performanceStats),
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.