cloudsim-plus-master/cloudsim-plus-master/cloudsim-plus/src/main/java/org/cloudbus/cloudsim/core/CloudSimEntity.java
public void pause(double delay) {
        if (delay < 0) {
            throw new IllegalArgumentException("Negative delay supplied.");
        }
        if (!simulation.isRunning()) {
            return;
        }
        simulation.pauseEntity(id, delay);
    }
/**
     * Sets the entity to be inactive for a time period.
     *
     * @param delay the time period for which the entity will be inactive
     */
Sets the entity to be inactive for a time period.
@param delay the time period for which the entity will be inactive
Sets the entity to be inactive for a time period . @param delay the time period for which the entity will be inactive
public void pause(double delay) {
        if (delay < 0) {
            throw new IllegalArgumentException("Negative delay supplied.");
        }
        if (!simulation.isRunning()) {
            return;
        }
        simulation.pauseEntity(id, delay);
    }
public void pause ( double delay ) { if ( delay < 0 ) { throw new IllegalArgumentException ( "Negative delay supplied." ) ; } if ( ! simulation . isRunning ( ) ) { return ; } simulation . pauseEntity ( id , delay ) ; }
Sets the entity to be inactive for a time period.
Sets the entity to be inactive for a time period .