Delayable

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

Methods

getSubmissionDelay

double getSubmissionDelay()

Gets the delay (in seconds) that a DatacenterBroker 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 a DatacenterBroker 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