private List<String> queryClusterInitiators(URI hostId){
  List<String> initiatorNames=new ArrayList<String>();
  Host host=_dbClient.queryObject(Host.class,hostId);
  if (host == null) {
    return initiatorNames;
  }
  if (host.getCluster() == null) {
    return initiatorNames;
  }
  List<URI> hostUris=ComputeSystemHelper.getChildrenUris(_dbClient,host.getCluster(),Host.class,"cluster");
  for (  URI hosturi : hostUris) {
    initiatorNames.addAll(queryHostInitiators(hosturi));
  }
  return initiatorNames;
}

private List < String > queryClusterInitiators ( URI hostId ) { List < String > initiatorNames = new ArrayList < String > ( ) ; Host host = _dbClient . queryObject ( Host . class , hostId ) ; if ( host == null ) { return initiatorNames ; } if ( host . getCluster ( ) == null ) { return initiatorNames ; } List < URI > hostUris = ComputeSystemHelper . getChildrenUris ( _dbClient , host . getCluster ( ) , Host . class , "cluster" ) ; for ( URI hosturi : hostUris ) { initiatorNames . addAll ( queryHostInitiators ( hosturi ) ) ; } return initiatorNames ; }
this function is to retrieve the initiators of the given host id ( uri )
