Search in sources :

Example 1 with ManagementCenterConfig

use of com.hazelcast.config.ManagementCenterConfig in project hazelcast by hazelcast.

the class TestFullApplicationContext method testManagementCenterConfig.

@Test
public void testManagementCenterConfig() {
    ManagementCenterConfig managementCenterConfig = config.getManagementCenterConfig();
    assertNotNull(managementCenterConfig);
    assertTrue(managementCenterConfig.isEnabled());
    assertEquals("myserver:80", managementCenterConfig.getUrl());
    assertEquals(4, managementCenterConfig.getUpdateInterval());
}
Also used : ManagementCenterConfig(com.hazelcast.config.ManagementCenterConfig) Test(org.junit.Test) QuickTest(com.hazelcast.test.annotation.QuickTest)

Aggregations

ManagementCenterConfig (com.hazelcast.config.ManagementCenterConfig)1 QuickTest (com.hazelcast.test.annotation.QuickTest)1 Test (org.junit.Test)1