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 to a Datacenter by a DatacenterBroker.
Author:
Manoel Campos da Silva Filho
See Also:
Vm, Cloudlet
  • Method Summary

    Modifier and Type Method Description
    double getSubmissionDelay()
    Gets the time (in seconds) that a DatacenterBroker will wait to request the creation of the object.
    void setSubmissionDelay​(double submissionDelay)
    Sets the time (in seconds) that a DatacenterBroker will wait to request the creation of the object.
  • Method Details

    • getSubmissionDelay

      double getSubmissionDelay()
      Gets the time (in seconds) that a DatacenterBroker will wait 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 the time (in seconds) that a DatacenterBroker will wait 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