public class APICPUCostModel
extends java.lang.Object
Constructor and Description |
---|
APICPUCostModel() |
Modifier and Type | Method and Description |
---|---|
double |
getCpuCostPerCore()
This method returns Hourly cost of CPU per Core.
|
double |
getCpuGhzCostPerHour()
This method returns Hourly cost of CPU per GHz.
|
double |
getTotalCPUCost()
This method returns Monthly cost of CPU.
|
void |
setCpuCostPerCore(double cpuCostPerCore)
This method sets hourly cost of a CPU per core.
|
void |
setCpuGhzCostPerHour(double cpuGhzCostPerHour)
This method sets hourly cost of a CPU per GHz.
|
void |
setTotalCPUCost(double totalCPUCost)
This method sets monthly cost of a CPU.
|
public double getTotalCPUCost()
public void setTotalCPUCost(double totalCPUCost)
totalCPUCost
- public double getCpuGhzCostPerHour()
public void setCpuGhzCostPerHour(double cpuGhzCostPerHour)
cpuGhzCostPerHour
- public double getCpuCostPerCore()
public void setCpuCostPerCore(double cpuCostPerCore)
cpuCostPerCore
-