Interface Delayable

All Known Subinterfaces:
Cloudlet, CustomerEntity, Vm
All Known Implementing Classes:
CloudletAbstract, CloudletSimple, CustomerEntityAbstract, NetworkCloudlet, NetworkVm, VmGroup, VmSimple

public interface Delayable
Defines methods for an object that its execution can be delayed by some time when it is submitted to a Datacenter by a DatacenterBroker.
Author:
Manoel Campos da Silva Filho
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    double
    Gets the time (in seconds) that a DatacenterBroker will wait to submit the entity to a Datacenter, in order to request the creation of the object.
    boolean
    Checks if this object has a submission delay or not
    void
    setSubmissionDelay(double submissionDelay)
    Sets a relative time (in seconds), from current simulation time, that a DatacenterBroker will wait to submit the entity to a Datacenter, in order to request the creation of the object.
  • Method Details

    • getSubmissionDelay

      double getSubmissionDelay()
      Gets the time (in seconds) that a DatacenterBroker will wait to submit the entity to a Datacenter, in order to request the creation of the object. This is a relative time from the current simulation time.
      Returns:
      the submission delay (in seconds)
    • setSubmissionDelay

      void setSubmissionDelay(double submissionDelay)
      Sets a relative time (in seconds), from current simulation time, that a DatacenterBroker will wait to submit the entity to a Datacenter, in order to request the creation of the object. This is a relative time from the current simulation time.
      Parameters:
      submissionDelay - the amount of seconds from the current simulation time that the object will wait to be submitted
    • isDelayed

      boolean isDelayed()
      Checks if this object has a submission delay or not
      Returns: