Package io.fathom.auto.config

Examples of io.fathom.auto.config.ConfigStore


public class AutonomousZookeeperMain {
    private static final Logger log = LoggerFactory.getLogger(AutonomousZookeeperMain.class);

    public static void main(String[] args) throws InterruptedException {
        ConfigStore configStore = ConfigStore.get("zookeeper");

        ZookeeperInstance zk = new ZookeeperInstance(configStore.getConfigRoot());
        try {
            zk.run();
        } catch (Exception e) {
            log.error("Error during ZK run; forcing exit", e);
            System.exit(1);
View Full Code Here


    AutoHaproxyMain(ConfigStore configStore) {
        this.configStore = configStore;
    }

    public static void main(String[] args) throws InterruptedException {
        ConfigStore configStore = ConfigStore.get("lb");

        AutoHaproxyMain main = new AutoHaproxyMain(configStore);
        try {
            main.run();
        } catch (Exception e) {
View Full Code Here

    }

    public static void main(String[] args) throws InterruptedException {
        File configFile = new File("/var/fathomcloud/bootstrap");

        ConfigStore configStore = null;

        // if (shouldBootstrap) {
        while (true) {
            try {
                ConfigStoreProvider configStoreProvider = null;
View Full Code Here

    AutonomousHorizonMain(ConfigStore configStore) {
        this.configStore = configStore;
    }

    public static void main(String[] args) throws InterruptedException {
        ConfigStore configStore = ConfigStore.get("openstack-horizon");

        AutonomousHorizonMain horizon = new AutonomousHorizonMain(configStore);
        try {
            horizon.run();
        } catch (Exception e) {
View Full Code Here

TOP

Related Classes of io.fathom.auto.config.ConfigStore

Copyright © 2018 www.massapicom. 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.