Package org.cloudbus.cloudsim.core
Interface Delayable
-
- All Known Subinterfaces:
Cloudlet
,CustomerEntity
,Vm
- All Known Implementing Classes:
CloudletAbstract
,CloudletSimple
,CustomerEntityAbstract
,NetworkCloudlet
,NetworkVm
,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 aDatacenter
by aDatacenterBroker
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description double
getSubmissionDelay()
Gets the delay (in seconds) that aDatacenterBroker
has to include when submitting the object, in order that it will be assigned to a VM only after this delay has expired.void
setSubmissionDelay(double submissionDelay)
Sets the delay (in seconds) that aDatacenterBroker
has to include when submitting the object, in order that it will be assigned to a VM only after this delay has expired.
-
-
-
Method Detail
-
getSubmissionDelay
double getSubmissionDelay()
Gets the delay (in seconds) that aDatacenterBroker
has to include when submitting the object, in order that it will be assigned to a VM only after this delay has expired.- Returns:
- the submission delay
-
setSubmissionDelay
void setSubmissionDelay(double submissionDelay)
Sets the delay (in seconds) that aDatacenterBroker
has to include when submitting the object, in order that it will be assigned to a VM only after this delay has expired. The delay should be greater or equal to zero.- Parameters:
submissionDelay
- the amount of seconds from the current simulation time that the object will wait to be submitted
-
-