Package com.netflix.config

Examples of com.netflix.config.WatchedUpdateListener


    }
   
    private static void setZkProperty(String key, String value) throws Exception {
        // update the underlying zk property and assert that the new value is picked up
        final CountDownLatch updateLatch = new CountDownLatch(1);
        zkConfigSource.addUpdateListener(new WatchedUpdateListener() {
            public void updateConfiguration(WatchedUpdateResult result) {
                updateLatch.countDown();
            }
        });
        zkConfigSource.setZkProperty(key, value);
View Full Code Here

TOP

Related Classes of com.netflix.config.WatchedUpdateListener

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.