cloudsim-plus-master/cloudsim-plus-master/cloudsim-plus/src/main/java/org/cloudbus/cloudsim/allocationpolicies/power/PowerVmAllocationPolicyMigrationAbstract.java
private void printOverUtilizedHosts(Set<PowerHostUtilizationHistory> overloadedHosts) {
        if (!Log.isDisabled() && !overloadedHosts.isEmpty()) {
            Log.printFormattedLine("%.2f: PowerVmAllocationPolicy: Overloaded hosts in %s: %s",
                getDatacenter().getSimulation().clock(), getDatacenter(),
                overloadedHosts.stream().map(h -> String.valueOf(h.getId())).collect(joining(",")));
        }
    }
/**
     * Prints the over utilized hosts.
     *
     * @param overloadedHosts the over utilized hosts
     */
Prints the over utilized hosts.
@param overloadedHosts the over utilized hosts
Prints the over utilized hosts . @param overloadedHosts the over utilized hosts
private void printOverUtilizedHosts(Set<PowerHostUtilizationHistory> overloadedHosts) {
        if (!Log.isDisabled() && !overloadedHosts.isEmpty()) {
            Log.printFormattedLine("%.2f: PowerVmAllocationPolicy: Overloaded hosts in %s: %s",
                getDatacenter().getSimulation().clock(), getDatacenter(),
                overloadedHosts.stream().map(h -> String.valueOf(h.getId())).collect(joining(",")));
        }
    }
private void printOverUtilizedHosts ( Set < PowerHostUtilizationHistory > overloadedHosts ) { if ( ! Log . isDisabled ( ) && ! overloadedHosts . isEmpty ( ) ) { Log . printFormattedLine ( "%.2f: PowerVmAllocationPolicy: Overloaded hosts in %s: %s" , getDatacenter ( ) . getSimulation ( ) . clock ( ) , getDatacenter ( ) , overloadedHosts . stream ( ) . map ( h -> String . valueOf ( h . getId ( ) ) ) . collect ( joining ( "," ) ) ) ; } }
Prints the over utilized hosts.
Prints the over utilized hosts .