类 BasicPartitioner

    • 方法概要

      所有方法 实例方法 具体方法 
      修饰符和类型方法说明
      java.util.Map<java.lang.String,​ExecutionContext>partition​(int gridSize)
      Create a set of distinct ExecutionContext instances together with a unique identifier for each one.
      • 从类继承的方法 java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 方法详细资料

      • partition

        public java.util.Map<java.lang.String,​ExecutionContextpartition​(int gridSize)
        从接口复制的说明: Partitioner
        Create a set of distinct ExecutionContext instances together with a unique identifier for each one. The identifiers should be short, mnemonic values, and only have to be unique within the return value (e.g. use an incrementer).
        指定者:
        partition 在接口中 Partitioner
        覆盖:
        partition 在类中 SimplePartitioner
        参数:
        gridSize - the size of the map to return
        返回:
        a map from identifier to input parameters