Class 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 Detail

      • ResourceSiteProperty

        public ResourceSiteProperty​(java.util.HashMap<java.lang.String,​java.lang.Integer> value)
        Default constructor.
        Parameters:
        value - the map from location to the number of Task that must be executed on the node
    • Method Detail

      • of

        public static ResourceSiteProperty of​(java.util.HashMap<java.lang.String,​java.lang.Integer> value)
        Static method for constructing ResourceSiteProperty.
        Parameters:
        value - the map from location to the number of Task that must be executed on the node
        Returns:
        the execution property