Package io.fathom.auto.haproxy

Examples of io.fathom.auto.haproxy.HaproxyInstance.run()


            @Override
            public void run() {
                HaproxyConfig config = new BoundHaproxyConfig(configStore);
                HaproxyInstance instance = new HaproxyInstance(config);
                try {
                    instance.run();
                } catch (Exception e) {
                    log.error("Error during haproxy run; forcing exit", e);
                    System.exit(1);
                }
            }
View Full Code Here


            @Override
            public void run() {
                SimpleHaproxyConfig config = new SimpleHaproxyConfig(secretKeys, defaultHost);
                HaproxyInstance instance = new HaproxyInstance(config);
                try {
                    instance.run();
                } catch (Exception e) {
                    log.error("Error during haproxy run; forcing exit", e);
                    System.exit(1);
                }
            }
View Full Code Here

        Thread horizonThread = new Thread(new Runnable() {
            @Override
            public void run() {
                HorizonInstance instance = new HorizonInstance(configStore);
                try {
                    instance.run();
                } catch (Exception e) {
                    log.error("Error during horizon run; forcing exit", e);
                    System.exit(1);
                }
            }
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.