@RequestMapping("/summary")
    public Map summary(){
        UIUtils.readUiConfig();
        Map<String, List<ClusterEntity>> ret = new HashMap<>();
        ret.put("clusters", new ArrayList<>(UIUtils.clustersCache.values()));
        return ret;
    }
@ RequestMapping ( "/summary" ) public Map summary ( ) { UIUtils . readUiConfig ( ) ; Map < String , List < ClusterEntity > > ret = new HashMap < > ( ) ; ret . put ( "clusters" , new ArrayList < > ( UIUtils . clustersCache . values ( ) ) ) ; return ret ; }
@return Returns all clusters summary information such as nimbus uptime or number of supervisors.