Examples of ZooKeeperFacade


Examples of io.fabric8.core.jmx.ZooKeeperFacade

    }

    private void registerFabricMBeans() {
        this.healthCheck = new HealthCheck(fabricService.get());
        this.managerMBean = new FabricManager((FabricServiceImpl) fabricService.get());
        this.zooKeeperMBean = new ZooKeeperFacade((FabricServiceImpl) fabricService.get());
        this.fileSystemMBean = new FileSystem(runtimeProperties.get());
        healthCheck.registerMBeanServer(shutdownTracker, mbeanServer.get());
        managerMBean.registerMBeanServer(shutdownTracker, mbeanServer.get());
        fileSystemMBean.registerMBeanServer(shutdownTracker, mbeanServer.get());
        zooKeeperMBean.registerMBeanServer(shutdownTracker, mbeanServer.get());
View Full Code Here

Examples of io.fabric8.zookeeper.utils.ZooKeeperFacade

     * Returns the replacement of groovy expressions on the given string value.
     */
    public static String resolveValue(CuratorFramework curator, String value) {
        try {
            Binding binding = new Binding();
            ZooKeeperFacade zk = new ZooKeeperFacade(curator);
            binding.setVariable("zk", zk);
            binding.setVariable("env", System.getenv());
            binding.setVariable("sys", System.getProperties());
            GroovyShell shell = new GroovyShell(binding);
            String expression = value;
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.