public static Execution onRegions(Set<Region> regions) {
    return getInternalFunctionExecutionService().onRegions(regions);
  }
Returns an {@link Execution} object that can be used to execute a function on the set of
{@link Region}s. The function would be executed on the set of members that host data for any of
the regions in the set of regions. <br>

If the Set provided contains region with : <br>
DataPolicy.NORMAL, execute the function on any random member which has DataPolicy.REPLICATE .
<br>
DataPolicy.EMPTY, execute the function on any random member which has DataPolicy.REPLICATE
.<br>
DataPolicy.REPLICATE, execute the function locally or any random member which has
DataPolicy.REPLICATE .<br>
DataPolicy.PARTITION, it executes on members where the primary copy of data is hosted. <br>

This API is not supported for cache clients in client server mode

For an Execution object obtained from this method, calling the withFilter method throws
{@link UnsupportedOperationException}

@see MultiRegionFunctionContext
geode-core/src/main/java/org/apache/geode/internal/cache/execute/InternalFunctionService.java