code: public static cacheselector[] get(nitro_service service, String selectorname[]) throws Exception{
  		if (selectorname !=null && selectorname.length>0) {
  			cacheselector response[] = new cacheselector[selectorname.length];
  			cacheselector obj[] = new cacheselector[selectorname.length];
  			for (int i=0;i<selectorname.length;i++) {
  				obj[i] = new cacheselector();
  				obj[i].set_selectorname(selectorname[i]);
  				response[i] = (cacheselector) obj[i].get_resource(service);
  			}
  			return response;
  		}
  		return null;
  	}
docs: Use this API to fetch cacheselector resources of given names .