Package org.apache.flink.runtime.slots
Class ResourceRequirements
- java.lang.Object
-
- org.apache.flink.runtime.slots.ResourceRequirements
-
- All Implemented Interfaces:
Serializable
public class ResourceRequirements extends Object implements Serializable
Represents the total resource requirements for a job, and the information required to connect to the corresponding job master.- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ResourceRequirements
create(org.apache.flink.api.common.JobID jobId, String targetAddress, Collection<ResourceRequirement> resourceRequirements)
static ResourceRequirements
empty(org.apache.flink.api.common.JobID jobId, String targetAddress)
boolean
equals(Object o)
org.apache.flink.api.common.JobID
getJobId()
Collection<ResourceRequirement>
getResourceRequirements()
String
getTargetAddress()
int
hashCode()
String
toString()
-
-
-
Method Detail
-
getJobId
public org.apache.flink.api.common.JobID getJobId()
-
getTargetAddress
public String getTargetAddress()
-
getResourceRequirements
public Collection<ResourceRequirement> 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)
-
-