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
-
Method Summary
Modifier and TypeMethodDescriptionint
Gets the number of cloudlets.long
Gets the cloudlets' file size.long
getId()
Gets the profile's id.long
Gets the maximum length of a cloudlet.long
Gets the cloudlets' output size.int
getPes()
Gets the number of processing elements required to run a cloudlet.double
Gets the time to send the next cloudlet.double
Gets 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.void
setAmount
(int amount) Sets the number of cloudlets.void
setFileSize
(long fileSize) Sets the cloudlets' file size.void
setId
(long id) Sets the profile's id.void
setLength
(long length) Sets the maximum length of a cloudlet.void
setOutputSize
(long outputSize) Sets the cloudlets' output size.void
setPes
(int pesNumber) Sets the number of processing elements required to run a cloudlet.void
setSubmissionDelay
(double submissionDelay) Sets the time to send the next cloudlet.void
setTimeZone
(double timeZone) Sets the profile's time zone.void
setUtilizationModelBw
(String utilizationModelBw) Sets the class name suffix of the Cloudlets's bandwidth utilization model.void
setUtilizationModelCpu
(String utilizationModelCpu) Sets the class name suffix of the Cloudlets's CPU utilization model.void
setUtilizationModelRam
(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
-