org.optaplanner.examples.cloudbalancing.domain
Class CloudComputer
java.lang.Object
org.optaplanner.examples.common.domain.AbstractPersistable
org.optaplanner.examples.cloudbalancing.domain.CloudComputer
- All Implemented Interfaces:
- Serializable, Comparable<AbstractPersistable>, Labeled
public class CloudComputer
- extends AbstractPersistable
- implements Labeled
- See Also:
- Serialized Form
CloudComputer
public CloudComputer()
getCpuPower
public int getCpuPower()
setCpuPower
public void setCpuPower(int cpuPower)
getMemory
public int getMemory()
setMemory
public void setMemory(int memory)
getNetworkBandwidth
public int getNetworkBandwidth()
setNetworkBandwidth
public void setNetworkBandwidth(int networkBandwidth)
getCost
public int getCost()
setCost
public void setCost(int cost)
getMultiplicand
public int getMultiplicand()
getLabel
public String getLabel()
- Specified by:
getLabel
in interface Labeled
Copyright © 2006-2015 JBoss by Red Hat. All Rights Reserved.