Package com.netflix.exhibitor.core.config

Examples of com.netflix.exhibitor.core.config.ConfigManager


    {
        System.out.println(getVersion());

        this.arguments = arguments;
        log = new ActivityLog(arguments.logWindowSizeLines);
        this.configManager = new ConfigManager(this, configProvider, arguments.configCheckMs);
        this.additionalUITabs = (additionalUITabs != null) ? ImmutableList.copyOf(additionalUITabs) : ImmutableList.<UITab>of();
        this.processOperations = new StandardProcessOperations(this);
        monitorRunningInstance = new MonitorRunningInstance(this);
        cleanupManager = new CleanupManager(this);
        indexCache = new IndexCache(log);
View Full Code Here


        mockForkJoinPool = Mockito.mock(ForkJoinPool.class);
        Mockito.when(mockExhibitor.getForkJoinPool()).thenReturn(mockForkJoinPool);

        mockConfigProvider = new MockConfigProvider();

        ConfigManager manager = new ConfigManager(mockExhibitor, mockConfigProvider, 10);
        manager.start();

        Mockito.when(mockExhibitor.getConfigManager()).thenReturn(manager);
    }
View Full Code Here

            {
                return true;
            }
        };

        ConfigManager               configManager = Mockito.mock(ConfigManager.class);
        Mockito.when(configManager.getConfig()).thenReturn(config);

        Exhibitor                   mockExhibitor = Mockito.mock(Exhibitor.class, Mockito.RETURNS_MOCKS);
        Mockito.when(mockExhibitor.getConfigManager()).thenReturn(configManager);
        Mockito.when(mockExhibitor.getThisJVMHostname()).thenReturn("foo");
        Mockito.when(mockExhibitor.getControlPanelValues()).thenReturn(controlPanelValues);
View Full Code Here

TOP

Related Classes of com.netflix.exhibitor.core.config.ConfigManager

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.