cloudsim-plus-master/cloudsim-plus-master/cloudsim-plus/src/main/java/org/cloudbus/cloudsim/datacenters/DatacenterSimple.java
protected void processCloudletResume(final Cloudlet cloudlet, final boolean ack) {
        final double estimatedFinishTime = cloudlet.getVm()
            .getCloudletScheduler().cloudletResume(cloudlet.getId());

        if (estimatedFinishTime > 0.0 && estimatedFinishTime > getSimulation().clock()) {
            schedule(getId(),
                getCloudletProcessingUpdateInterval(estimatedFinishTime),
                CloudSimTags.VM_UPDATE_CLOUDLET_PROCESSING_EVENT);
        }

        if (ack) {
            sendNow(cloudlet.getBroker().getId(), CloudSimTags.CLOUDLET_RESUME_ACK, cloudlet);
        }
    }
/**
     * Processes a Cloudlet resume request.
     *
     * @param cloudlet cloudlet to be resumed
     * @param ack indicates if the event's sender expects to receive an
     * acknowledge message when the event finishes to be processed
     * @pre $none
     * @post $none
     */
Processes a Cloudlet resume request.
@param cloudlet cloudlet to be resumed
@param ack indicates if the event's sender expects to receive an
acknowledge message when the event finishes to be processed
@pre $none
@post $none
Processes a Cloudlet resume request . @param cloudlet cloudlet to be resumed @param ack indicates if the event ' s sender expects to receive an acknowledge message when the event finishes to be processed @pre $none @post $none
protected void processCloudletResume(final Cloudlet cloudlet, final boolean ack) {
        final double estimatedFinishTime = cloudlet.getVm()
            .getCloudletScheduler().cloudletResume(cloudlet.getId());
        if (estimatedFinishTime > 0.0 && estimatedFinishTime > getSimulation().clock()) {
            schedule(getId(),
                getCloudletProcessingUpdateInterval(estimatedFinishTime),
                CloudSimTags.VM_UPDATE_CLOUDLET_PROCESSING_EVENT);
        }
        if (ack) {
            sendNow(cloudlet.getBroker().getId(), CloudSimTags.CLOUDLET_RESUME_ACK, cloudlet);
        }
    }
protected void processCloudletResume ( final Cloudlet cloudlet , final boolean ack ) { final double estimatedFinishTime = cloudlet . getVm ( ) . getCloudletScheduler ( ) . cloudletResume ( cloudlet . getId ( ) ) ; if ( estimatedFinishTime > 0.0 && estimatedFinishTime > getSimulation ( ) . clock ( ) ) { schedule ( getId ( ) , getCloudletProcessingUpdateInterval ( estimatedFinishTime ) , CloudSimTags . VM_UPDATE_CLOUDLET_PROCESSING_EVENT ) ; } if ( ack ) { sendNow ( cloudlet . getBroker ( ) . getId ( ) , CloudSimTags . CLOUDLET_RESUME_ACK , cloudlet ) ; } }
Processes a Cloudlet resume request.
Processes a Cloudlet resume request .