Class DtoDeviceCapacity
java.lang.Object
com.vernaio.kayros.engine.v2.api.dto.DtoDeviceCapacity
- All Implemented Interfaces:
IDtoDeviceCapacity
Details about a device that allows processes to run in parallel, only restricted by some maximal capacity.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanMaximal capacity (at all times, sum over all needed capacities of all executed jobs must be smaller or equal to this).inthashCode()voidsetMaximalValue(Integer maximalValue) Maximal capacity (at all times, sum over all needed capacities of all executed jobs must be smaller or equal to this).withMaximalValue(Integer maximalValue) Maximal capacity (at all times, sum over all needed capacities of all executed jobs must be smaller or equal to this).
-
Constructor Details
-
DtoDeviceCapacity
protected DtoDeviceCapacity() -
DtoDeviceCapacity
-
-
Method Details
-
getMaximalValue
Maximal capacity (at all times, sum over all needed capacities of all executed jobs must be smaller or equal to this).- Specified by:
getMaximalValuein interfaceIDtoDeviceCapacity
-
setMaximalValue
Maximal capacity (at all times, sum over all needed capacities of all executed jobs must be smaller or equal to this).- Specified by:
setMaximalValuein interfaceIDtoDeviceCapacity
-
equals
-
hashCode
public int hashCode() -
withMaximalValue
Maximal capacity (at all times, sum over all needed capacities of all executed jobs must be smaller or equal to this).
-