cloudsim-plus-master/cloudsim-plus-master/cloudsim-plus/src/main/java/org/cloudsimplus/faultinjection/HostFaultInjection.java
private void deallocateFailedHostPesFromVms() {
        Log.printFormattedLine("\t%d PEs just failed. There is a total of %d working PEs.",
                lastNumberOfFailedPes,
                lastFailedHost.getNumberOfWorkingPes());
        cyclicallyRemoveFailedHostPesFromVms();

        Log.printLine();
        final List<Vm> vmsWithoutPes =
            lastFailedHost.getVmList()
                .stream()
                .filter(vm -> vm.getNumberOfPes() == 0)
                .collect(toList());
        setVmListToFailed(vmsWithoutPes);
    }
/**
     * Deallocates the physical PEs failed for the
     * {@link #getLastFailedHost() last failed Host} from affected VMs.
     */
Deallocates the physical PEs failed for the
#getLastFailedHost() last failed Host from affected VMs.
Deallocates the physical PEs failed for the #getLastFailedHost () last failed Host from affected VMs .
private void deallocateFailedHostPesFromVms() {
        Log.printFormattedLine("\t%d PEs just failed. There is a total of %d working PEs.",
                lastNumberOfFailedPes,
                lastFailedHost.getNumberOfWorkingPes());
        cyclicallyRemoveFailedHostPesFromVms();
        Log.printLine();
        final List<Vm> vmsWithoutPes =
            lastFailedHost.getVmList()
                .stream()
                .filter(vm -> vm.getNumberOfPes() == 0)
                .collect(toList());
        setVmListToFailed(vmsWithoutPes);
    }
private void deallocateFailedHostPesFromVms ( ) { Log . printFormattedLine ( "\t%d PEs just failed. There is a total of %d working PEs." , lastNumberOfFailedPes , lastFailedHost . getNumberOfWorkingPes ( ) ) ; cyclicallyRemoveFailedHostPesFromVms ( ) ; Log . printLine ( ) ; final List < Vm > vmsWithoutPes = lastFailedHost . getVmList ( ) . stream ( ) . filter ( vm -> vm . getNumberOfPes ( ) == 0 ) . collect ( toList ( ) ) ; setVmListToFailed ( vmsWithoutPes ) ; }
Deallocates the physical PEs failed for the
 {@link #getLastFailedHost() last failed Host} from affected VMs.
Deallocates the physical PEs failed for the { @link #getLastFailedHost () last failed Host } from affected VMs .