cloudsim-plus-master/cloudsim-plus-master/cloudsim-plus/src/main/java/org/cloudbus/cloudsim/datacenters/power/PowerDatacenterNonPowerAware.java
private void scheduleUpdateOfCloudletsProcessingForFutureTime(double nextCloudletFinishTime) {
        if (nextCloudletFinishTime != Double.MAX_VALUE) {
            getSimulation().cancelAll(getId(), new PredicateType(CloudSimTags.VM_UPDATE_CLOUDLET_PROCESSING_EVENT));
            // getSimulation().cancelAll(getId(), CloudSim.SIM_ANY);
            send(getId(), getSchedulingInterval(), CloudSimTags.VM_UPDATE_CLOUDLET_PROCESSING_EVENT);
        }
    }
/**
     * Schedules the next update of Cloudlets in this Host for a future time.
     *
     * @param nextCloudletFinishTime the time to schedule the update of Cloudlets in this Host, that is the expected
     *                               time of the next finishing Cloudlet among all existing Hosts.
     * @see #getNextCloudletFinishTime(double)
     */
Schedules the next update of Cloudlets in this Host for a future time.
@param nextCloudletFinishTime the time to schedule the update of Cloudlets in this Host, that is the expected
time of the next finishing Cloudlet among all existing Hosts.
Schedules the next update of Cloudlets in this Host for a future time . @param nextCloudletFinishTime the time to schedule the update of Cloudlets in this Host that is the expected time of the next finishing Cloudlet among all existing Hosts .
private void scheduleUpdateOfCloudletsProcessingForFutureTime(double nextCloudletFinishTime) {
        if (nextCloudletFinishTime != Double.MAX_VALUE) {
            getSimulation().cancelAll(getId(), new PredicateType(CloudSimTags.VM_UPDATE_CLOUDLET_PROCESSING_EVENT));
            send(getId(), getSchedulingInterval(), CloudSimTags.VM_UPDATE_CLOUDLET_PROCESSING_EVENT);
        }
    }
private void scheduleUpdateOfCloudletsProcessingForFutureTime ( double nextCloudletFinishTime ) { if ( nextCloudletFinishTime != Double . MAX_VALUE ) { getSimulation ( ) . cancelAll ( getId ( ) , new PredicateType ( CloudSimTags . VM_UPDATE_CLOUDLET_PROCESSING_EVENT ) ) ; send ( getId ( ) , getSchedulingInterval ( ) , CloudSimTags . VM_UPDATE_CLOUDLET_PROCESSING_EVENT ) ; } }
Schedules the next update of Cloudlets in this Host for a future time.
Schedules the next update of Cloudlets in this Host for a future time .
// getSimulation().cancelAll(getId(), CloudSim.SIM_ANY);