Package com.netflix.config.sources

Examples of com.netflix.config.sources.JDBCConfigurationSource


   
    @Test
  public void testSimpleInMemoryJDBCDynamicPropertySource() throws Throwable {

    DataSource ds = createDataConfigSource("MySiteConfiguration");
    JDBCConfigurationSource source = new JDBCConfigurationSource(
        ds,
        "select distinct property_key, property_value from MySiteProperties",
        "property_key", "property_value");
    FixedDelayPollingScheduler scheduler = new FixedDelayPollingScheduler(
        0, 10, false);
View Full Code Here

TOP

Related Classes of com.netflix.config.sources.JDBCConfigurationSource

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.