接口 Partitioner

    • 方法详细资料

      • partition

        java.util.Map<java.lang.String,​ExecutionContextpartition​(int gridSize)
        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).
        参数:
        gridSize - the size of the map to return
        返回:
        a map from identifier to input parameters