Examples of trackConfiguration()


Examples of io.fabric8.api.DataStore.trackConfiguration()

                    ControllerNode state = createState();
                    group.update(state);
                }
                if (dataStore != null) {
                    if (group.isMaster()) {
                        dataStore.trackConfiguration(runnable);
                        onConfigurationChanged();
                    } else {
                        dataStore.untrackConfiguration(runnable);
                    }
                }
View Full Code Here

Examples of io.fabric8.api.DataStore.trackConfiguration()

            }
        };
        keepAliveTimer.schedule(timerTask, monitorPollTime, monitorPollTime);

        DataStore dataStore = fabricService.get().adapt(DataStore.class);
        dataStore.trackConfiguration(configurationChangeHandler);
    }

    @Deactivate
    void deactivate() {
        if (zkMasterCache != null) {
View Full Code Here

Examples of io.fabric8.api.DataStore.trackConfiguration()

                    try {
                        if (group.isMaster()) {
                            enableMasterZkCache(curator.get());
                            LOGGER.info("AutoScaleController is the master");
                            group.update(state);
                            dataStore.trackConfiguration(runnable);
                            enableTimer();
                            onConfigurationChanged();
                        } else {
                            LOGGER.info("AutoScaleController is not the master");
                            group.update(state);
View Full Code Here

Examples of io.fabric8.api.DataStore.trackConfiguration()

                    try {
                        if (group.isMaster()) {
                            enableMasterZkCache(getCuratorFramework());
                            LOGGER.info("KubernetesHeathChecker is the master");
                            group.update(state);
                            dataStore.trackConfiguration(runnable);
                            enableTimer();
                            onConfigurationChanged();
                        } else {
                            LOGGER.info("KubernetesHeathChecker is not the master");
                            group.update(state);
View Full Code Here

Examples of io.fabric8.api.DataStore.trackConfiguration()

                    try {
                        if (group.isMaster()) {
                            enableMasterZkCache(curator.get());
                            LOGGER.info("ProfileReplicationController is the master");
                            group.update(state);
                            dataStore.trackConfiguration(runnable);
                            enableTimer();
                            onConfigurationChanged();
                        } else {
                            LOGGER.info("ProfileReplicationController is not the master");
                            group.update(state);
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.