Package com.netflix.config

Examples of com.netflix.config.PolledConfigurationSource


    try {
      //Find the config file
      File turbineConfig = FileLocator.findUniqueFile("dashboard-config.properties");
      LOGGER.debug("Found dashboard config file: "+turbineConfig.getAbsolutePath());
      //Add it as a configuration source
      PolledConfigurationSource source = new URLConfigurationSource(new URL(FILE_PREFIX+turbineConfig.getAbsolutePath()));
      DynamicConfiguration configuration = new DynamicConfiguration(source, new FixedDelayPollingScheduler());
      //Add the configurations to Archiaus
      ConfigurationManager.install(configuration);
      //Init Turbine
      TurbineInit.init();
View Full Code Here

TOP

Related Classes of com.netflix.config.PolledConfigurationSource

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.