public class MrMachineUsage extends Object implements Serializable, Comparable<MrMachineUsage>
Constructor and Description |
---|
MrMachineUsage(MrMachineCapacity machineCapacity,
long usage) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(MrMachineUsage o) |
boolean |
equals(Object o) |
long |
getLoadCostWeight() |
MrMachine |
getMachine() |
MrMachineCapacity |
getMachineCapacity() |
long |
getMaximumAvailable() |
MrResource |
getResource() |
long |
getSafetyAvailable() |
long |
getUsage() |
int |
hashCode() |
boolean |
isTransientlyConsumed() |
String |
toString() |
public MrMachineUsage(MrMachineCapacity machineCapacity, long usage)
public MrMachineCapacity getMachineCapacity()
public long getUsage()
public MrMachine getMachine()
public MrResource getResource()
public boolean isTransientlyConsumed()
public long getLoadCostWeight()
public long getMaximumAvailable()
public long getSafetyAvailable()
public int compareTo(MrMachineUsage o)
compareTo
in interface Comparable<MrMachineUsage>
Copyright © 2006–2019 JBoss by Red Hat. All rights reserved.