Package cloudreports.models
Class CloudletRegistry
java.lang.Object
cloudreports.models.CloudletRegistry
- All Implemented Interfaces:
Serializable
Represents a list of cloudlets of a customer.
- Since:
- 1.0
- Author:
- Thiago T. Sá
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintGets the number of cloudlets.longGets the cloudlets' file size.longgetId()Gets the profile's id.longGets the maximum length of a cloudlet.longGets the cloudlets' output size.intgetPes()Gets the number of processing elements required to run a cloudlet.doubleGets the time to send the next cloudlet.doubleGets the profile's time zone.Gets the class name suffix of the Cloudlets's bandwidth utilization model.Gets the class name suffix of the Cloudlets's CPU utilization model.Gets the class name suffix of the Cloudlets's RAM utilization model.voidsetAmount(int amount) Sets the number of cloudlets.voidsetFileSize(long fileSize) Sets the cloudlets' file size.voidsetId(long id) Sets the profile's id.voidsetLength(long length) Sets the maximum length of a cloudlet.voidsetOutputSize(long outputSize) Sets the cloudlets' output size.voidsetPes(int pesNumber) Sets the number of processing elements required to run a cloudlet.voidsetSubmissionDelay(double submissionDelay) Sets the time to send the next cloudlet.voidsetTimeZone(double timeZone) Sets the profile's time zone.voidsetUtilizationModelBw(String utilizationModelBw) Sets the class name suffix of the Cloudlets's bandwidth utilization model.voidsetUtilizationModelCpu(String utilizationModelCpu) Sets the class name suffix of the Cloudlets's CPU utilization model.voidsetUtilizationModelRam(String utilizationModelRam) Sets the class name suffix of the Cloudlets's RAM utilization model.toString()
-
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
Gets the class name suffix of the Cloudlets's CPU utilization model.- Returns:
-
setUtilizationModelCpu
Sets the class name suffix of the Cloudlets's CPU utilization model.- Parameters:
utilizationModelCpu- the class name suffix to set
-
getUtilizationModelRam
Gets the class name suffix of the Cloudlets's RAM utilization model.- Returns:
-
setUtilizationModelRam
Sets the class name suffix of the Cloudlets's RAM utilization model.- Parameters:
utilizationModelRam- the class name suffix to set
-
getUtilizationModelBw
Gets the class name suffix of the Cloudlets's bandwidth utilization model.- Returns:
-
setUtilizationModelBw
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
-