public void refreshStorage(List<HostSystem> hosts){
  if (!hosts.isEmpty()) {
    execute(new RefreshStorage(hosts));
  }
}

public void refreshStorage ( List < HostSystem > hosts ) { if ( ! hosts . isEmpty ( ) ) { execute ( new RefreshStorage ( hosts ) ) ; } }
refreshes the storage for a given list of hosts .
