Class CloudProcess
java.lang.Object
org.optaplanner.examples.common.domain.AbstractPersistable
org.optaplanner.examples.cloudbalancing.domain.CloudProcess
- All Implemented Interfaces:
Labeled
-
Field Summary
Fields inherited from class org.optaplanner.examples.common.domain.AbstractPersistable
id
-
Constructor Summary
ConstructorsConstructorDescriptionCloudProcess
(long id, int requiredCpuPower, int requiredMemory, int requiredNetworkBandwidth) -
Method Summary
Modifier and TypeMethodDescriptiongetLabel()
int
int
int
int
void
setComputer
(CloudComputer computer) void
setRequiredCpuPower
(int requiredCpuPower) void
setRequiredMemory
(int requiredMemory) void
setRequiredNetworkBandwidth
(int requiredNetworkBandwidth) Methods inherited from class org.optaplanner.examples.common.domain.AbstractPersistable
getId, setId, toString
-
Constructor Details
-
CloudProcess
public CloudProcess(long id, int requiredCpuPower, int requiredMemory, int requiredNetworkBandwidth)
-
-
Method Details
-
getRequiredCpuPower
public int getRequiredCpuPower() -
setRequiredCpuPower
public void setRequiredCpuPower(int requiredCpuPower) -
getRequiredMemory
public int getRequiredMemory() -
setRequiredMemory
public void setRequiredMemory(int requiredMemory) -
getRequiredNetworkBandwidth
public int getRequiredNetworkBandwidth() -
setRequiredNetworkBandwidth
public void setRequiredNetworkBandwidth(int requiredNetworkBandwidth) -
getComputer
-
setComputer
-
getRequiredMultiplicand
public int getRequiredMultiplicand() -
getLabel
-