Examples of CuratorHealthCheck


Examples of com.datasift.dropwizard.curator.health.CuratorHealthCheck

            builder.authorization(auth.getScheme(), auth.getId().getBytes());
        }

        final CuratorFramework framework = builder.build();

        environment.healthChecks().register(name, new CuratorHealthCheck(framework));
        environment.lifecycle().manage(new ManagedCuratorFramework(framework));

        return framework;
    }
View Full Code Here

Examples of com.datasift.dropwizard.curator.health.CuratorHealthCheck

            builder.authorization(auth.getScheme(), auth.getId());
        }

        final CuratorFramework framework = builder.build();

        environment.addHealthCheck(new CuratorHealthCheck(framework, name));
        environment.manage(new ManagedCuratorFramework(framework));

        return framework;
    }
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.