Package org.apache.flink.runtime.slots
Class ResourceRequirements
java.lang.Object
org.apache.flink.runtime.slots.ResourceRequirements
- All Implemented Interfaces:
Serializable
Represents the total resource requirements for a job, and the information required to connect to
the corresponding job master.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionstatic ResourceRequirementscreate(org.apache.flink.api.common.JobID jobId, String targetAddress, Collection<ResourceRequirement> resourceRequirements) static ResourceRequirementsbooleanorg.apache.flink.api.common.JobIDgetJobId()inthashCode()toString()
-
Method Details
-
getJobId
public org.apache.flink.api.common.JobID getJobId() -
getTargetAddress
-
getResourceRequirements
-
create
public static ResourceRequirements create(org.apache.flink.api.common.JobID jobId, String targetAddress, Collection<ResourceRequirement> resourceRequirements) -
empty
public static ResourceRequirements empty(org.apache.flink.api.common.JobID jobId, String targetAddress) -
equals
-
hashCode
public int hashCode() -
toString
-