/** * Get a list of all hosts for all role/container per role * * @return the map of role->node */ protected Map<String, Map<String, ClusterNode>> getRoleClusterNodeMapping() { return amState.getRoleClusterNodeMapping(); }
/** * Get a list of all hosts for all role/container per role * * @return the map of role->node */ protected Map<String, Map<String, ClusterNode>> getRoleClusterNodeMapping() { return amState.getRoleClusterNodeMapping(); }
appState.getRoleClusterNodeMapping(); Map<String, ComponentInformation> componentInfoMap = appState.getComponentInfoSnapshot();
appState.getRoleClusterNodeMapping(); Map<String, ComponentInformation> componentInfoMap = appState.getComponentInfoSnapshot();
Map<String, Map<String, ClusterNode>> cnMap = new HashMap<String, Map<String, ClusterNode>>(); expect(access.getRoleClusterNodeMapping()).andReturn(cnMap).anyTimes();
Map<String, Map<String, ClusterNode>> cnMap = new HashMap<String, Map<String, ClusterNode>>(); expect(access.getRoleClusterNodeMapping()).andReturn(cnMap).anyTimes();