Interface Partitioner

    • Method Detail

      • partition

        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. The identifiers should be short, mnemonic values, and only have to be unique within the return value (e.g. use an incrementer).
        Parameters:
        gridSize - the size of the map to return
        Returns:
        a map from identifier to input parameters