Package org.apache.flink.runtime.slots
Class ResourceRequirement
java.lang.Object
org.apache.flink.runtime.slots.ResourceRequirement
- All Implemented Interfaces:
Serializable
Represents the number of required resources for a specific
ResourceProfile.- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionstatic ResourceRequirementcreate(ResourceProfile resourceProfile, int numberOfRequiredSlots) booleanintinthashCode()toString()
-
Method Details
-
getResourceProfile
-
getNumberOfRequiredSlots
public int getNumberOfRequiredSlots() -
create
public static ResourceRequirement create(ResourceProfile resourceProfile, int numberOfRequiredSlots) -
equals
-
hashCode
public int hashCode() -
toString
-