Class CloudletRegistry

java.lang.Object
cloudreports.models.CloudletRegistry
All Implemented Interfaces:
Serializable

public final class CloudletRegistry
extends Object
implements Serializable
Represents a list of cloudlets of a customer.
Since:
1.0
Author:
Thiago T. Sá
See Also:
Serialized Form
  • Constructor Details

    • CloudletRegistry

      public CloudletRegistry()
  • Method Details

    • getId

      public long getId()
      Gets the profile's id.
      Returns:
      the profile's id.
    • setId

      public void setId​(long id)
      Sets the profile's id.
      Parameters:
      id - the profile's id.
    • getTimeZone

      public double getTimeZone()
      Gets the profile's time zone.
      Returns:
      the profile's time zone.
    • setTimeZone

      public void setTimeZone​(double timeZone)
      Sets the profile's time zone.
      Parameters:
      timeZone - the profile's time zone.
    • getAmount

      public int getAmount()
      Gets the number of cloudlets.
      Returns:
      the number of cloudlets.
    • setAmount

      public void setAmount​(int amount)
      Sets the number of cloudlets.
      Parameters:
      amount - the number of cloudlets.
    • getLength

      public long getLength()
      Gets the maximum length of a cloudlet.
      Returns:
      the maximum length of a cloudlet.
    • setLength

      public void setLength​(long length)
      Sets the maximum length of a cloudlet.
      Parameters:
      length - the maximum length of a cloudlet.
    • getFileSize

      public long getFileSize()
      Gets the cloudlets' file size.
      Returns:
      the cloudlets' file size.
    • setFileSize

      public void setFileSize​(long fileSize)
      Sets the cloudlets' file size.
      Parameters:
      fileSize - the cloudlets' file size.
    • getOutputSize

      public long getOutputSize()
      Gets the cloudlets' output size.
      Returns:
      the cloudlets' output size.
    • setOutputSize

      public void setOutputSize​(long outputSize)
      Sets the cloudlets' output size.
      Parameters:
      outputSize - the cloudlets' output size.
    • getPes

      public int getPes()
      Gets the number of processing elements required to run a cloudlet.
      Returns:
      the number of processing elements required to run a cloudlet.
    • setPes

      public void setPes​(int pesNumber)
      Sets the number of processing elements required to run a cloudlet.
      Parameters:
      pesNumber - the number of processing elements required to run a cloudlet.
    • getUtilizationModelCpu

      public String getUtilizationModelCpu()
      Gets the class name suffix of the Cloudlets's CPU utilization model.
      Returns:
    • setUtilizationModelCpu

      public void setUtilizationModelCpu​(String utilizationModelCpu)
      Sets the class name suffix of the Cloudlets's CPU utilization model.
      Parameters:
      utilizationModelCpu - the class name suffix to set
    • getUtilizationModelRam

      public String getUtilizationModelRam()
      Gets the class name suffix of the Cloudlets's RAM utilization model.
      Returns:
    • setUtilizationModelRam

      public void setUtilizationModelRam​(String utilizationModelRam)
      Sets the class name suffix of the Cloudlets's RAM utilization model.
      Parameters:
      utilizationModelRam - the class name suffix to set
    • getUtilizationModelBw

      public String getUtilizationModelBw()
      Gets the class name suffix of the Cloudlets's bandwidth utilization model.
      Returns:
    • setUtilizationModelBw

      public void setUtilizationModelBw​(String utilizationModelBw)
      Sets the class name suffix of the Cloudlets's bandwidth utilization model.
      Parameters:
      utilizationModelBw - the class name suffix to set
    • getSubmissionDelay

      public double getSubmissionDelay()
      Gets the time to send the next cloudlet.
      Returns:
      the time to send the next cloudlet.
    • setSubmissionDelay

      public void setSubmissionDelay​(double submissionDelay)
      Sets the time to send the next cloudlet.
      Parameters:
      submissionDelay - the time to send the next cloudlet.
    • toString

      public String toString()
      Overrides:
      toString in class Object