Class JobResourceRequirements
- java.lang.Object
-
- org.apache.flink.runtime.jobgraph.JobResourceRequirements
-
- All Implemented Interfaces:
java.io.Serializable
public class JobResourceRequirements extends java.lang.Object implements java.io.Serializable
Copied from Flink. Should be removed once the client dependency is upgraded to 1.18.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
JobResourceRequirements.Builder
Builder.
-
Constructor Summary
Constructors Constructor Description JobResourceRequirements(java.util.Map<org.apache.flink.runtime.jobgraph.JobVertexID,JobVertexResourceRequirements> vertexResources)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
java.util.Map<org.apache.flink.runtime.jobgraph.JobVertexID,JobVertexResourceRequirements>
getJobVertexParallelisms()
JobVertexResourceRequirements.Parallelism
getParallelism(org.apache.flink.runtime.jobgraph.JobVertexID jobVertexId)
int
hashCode()
static JobResourceRequirements.Builder
newBuilder()
java.lang.String
toString()
-
-
-
Constructor Detail
-
JobResourceRequirements
public JobResourceRequirements(java.util.Map<org.apache.flink.runtime.jobgraph.JobVertexID,JobVertexResourceRequirements> vertexResources)
-
-
Method Detail
-
newBuilder
public static JobResourceRequirements.Builder newBuilder()
-
getParallelism
public JobVertexResourceRequirements.Parallelism getParallelism(org.apache.flink.runtime.jobgraph.JobVertexID jobVertexId)
-
getJobVertexParallelisms
public java.util.Map<org.apache.flink.runtime.jobgraph.JobVertexID,JobVertexResourceRequirements> getJobVertexParallelisms()
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-