Examples of CassandraHealthCheck


Examples of com.hmsonline.virgil.health.CassandraHealthCheck

    @Override
    protected void initialize(VirgilConfiguration conf, Environment env) throws Exception {
        env.addResource(new MapReduceResource(this));
        env.addResource(new DataResource(this));
        env.addHealthCheck(new CassandraHealthCheck(this));
        env.addProvider(new KeyspaceExceptionMapper());
    }
View Full Code Here

Examples of fr.ippon.tatami.config.metrics.CassandraHealthCheck

    @PostConstruct
    public void initMetrics() {
        if (env.acceptsProfiles(Constants.SPRING_PROFILE_METRICS)) {
            log.debug("Initializing Metrics healthchecks");
            HealthChecks.register(new CassandraHealthCheck(keyspaceOperator));
            HealthChecks.register(new JavaMailHealthCheck(mailService));

            String graphiteHost = env.getProperty("tatami.metrics.graphite.host");
            if (graphiteHost != null) {
                log.debug("Initializing Metrics Graphite reporting");
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.