Package com.rackspacecloud.blueflood.rollup

Examples of com.rackspacecloud.blueflood.rollup.MetricsPersistenceOptimizer



    private boolean shouldPersist(Metric metric) {
        try {
            final DataType metricType = metric.getDataType();
            final MetricsPersistenceOptimizer optimizer =
                    MetricsPersistenceOptimizerFactory.getOptimizer(metricType);

            return optimizer.shouldPersist(metric);
        } catch (Exception e) {
            // If we hit any exception, just persist the metric
            return true;
        }
    }
View Full Code Here

TOP

Related Classes of com.rackspacecloud.blueflood.rollup.MetricsPersistenceOptimizer

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.