Package com.seyren.core.service.schedule

Examples of com.seyren.core.service.schedule.CheckRunner.run()


        for (final Check check : checks) {
            Iterator<Metric> metricByName = Iterables.filter(metrics, new FindByName(check.getName())).iterator();
            if (metricByName.hasNext()) {
                Metric found = metricByName.next();
                CheckRunner runner = checkRunnerFactory.create(check, found.getValue());
                runner.run();
            }
        }
    }

    private static class FindByName implements Predicate<Metric> {
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.