java.lang.Object
org.optaplanner.examples.common.domain.AbstractPersistable
org.optaplanner.examples.cloudbalancing.domain.CloudProcess
All Implemented Interfaces:
Labeled

public class CloudProcess extends AbstractPersistable implements Labeled
  • 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

      public CloudComputer getComputer()
    • setComputer

      public void setComputer(CloudComputer computer)
    • getRequiredMultiplicand

      public int getRequiredMultiplicand()
    • getLabel

      public String getLabel()
      Specified by:
      getLabel in interface Labeled