sendNow(cloudlet.getBroker().getId(), CloudSimTags.CLOUDLET_CANCEL, cloudlet);
}
protected void updateCloudletProcessing() {
if (!isTimeToUpdateCloudletsProcessing())
return;
<BUG>final double nextSimulationTime = updateVmsProcessingOfAllHosts();
if (nextSimulationTime != Double.MAX_VALUE) {
schedule(getId(),
getCloudletProcessingUpdateInterval(nextSimulationTime),
CloudSimTags.VM_UPDATE_CLOUDLET_PROCESSING_EVENT);</BUG>
}

sendNow(cloudlet.getBroker().getId(), CloudSimTags.CLOUDLET_CANCEL, cloudlet);
}
protected void updateCloudletProcessing() {
if (!isTimeToUpdateCloudletsProcessing())
return;
double nextSimulationTime = updateVmsProcessingOfAllHosts();
if (nextSimulationTime != Double.MAX_VALUE) {
nextSimulationTime = getCloudletProcessingUpdateInterval(nextSimulationTime);
schedule(getId(),
nextSimulationTime,
CloudSimTags.VM_UPDATE_CLOUDLET_PROCESSING_EVENT);
}
