Class ResourceSiteProperty
- java.lang.Object
-
- org.apache.nemo.common.ir.executionproperty.ExecutionProperty<T>
-
- org.apache.nemo.common.ir.executionproperty.VertexExecutionProperty<java.util.HashMap<java.lang.String,java.lang.Integer>>
-
- org.apache.nemo.common.ir.vertex.executionproperty.ResourceSiteProperty
-
- All Implemented Interfaces:
java.io.Serializable
public final class ResourceSiteProperty extends VertexExecutionProperty<java.util.HashMap<java.lang.String,java.lang.Integer>>
Map between node name and the number of parallelism which will run on the node. TODO #169: Use sites (not node names) in ResourceSiteProperty- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ResourceSiteProperty(java.util.HashMap<java.lang.String,java.lang.Integer> value)
Default constructor.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ResourceSiteProperty
of(java.util.HashMap<java.lang.String,java.lang.Integer> value)
Static method for constructingResourceSiteProperty
.-
Methods inherited from class org.apache.nemo.common.ir.executionproperty.ExecutionProperty
equals, getValue, hashCode, toString
-
-
-
-
Method Detail
-
of
public static ResourceSiteProperty of(java.util.HashMap<java.lang.String,java.lang.Integer> value)
Static method for constructingResourceSiteProperty
.- Parameters:
value
- the map from location to the number of Task that must be executed on the node- Returns:
- the execution property
-
-