public static clusternode [ ] get ( nitro_service service , Long nodeid [ ] ) throws Exception { if ( nodeid != null && nodeid . length > 0 ) { clusternode response [ ] = new clusternode [ nodeid . length ] ; clusternode obj [ ] = new clusternode [ nodeid . length ] ; for ( int i = 0 ; i < nodeid . length ; i ++ ) { obj [ i ] = new clusternode ( ) ; obj [ i ] . set_nodeid ( nodeid [ i ] ) ; response [ i ] = ( clusternode ) obj [ i ] . get_resource ( service ) ; } return response ; } return null ; }
Use this API to fetch clusternode resources of given names .