@Override
  public CliFunctionResult executeFunction(FunctionContext<RegionConfig> context) {
    Cache cache = ((InternalCache) context.getCache()).getCacheForProcessingClientRequests();
    RegionConfig deltaConfig = context.getArguments();
    alterRegion(cache, deltaConfig);

    return new CliFunctionResult(context.getMemberName(), Result.Status.OK,
        String.format("Region %s altered", deltaConfig.getName()));
  }
Function used by the 'alter region' gfsh command to alter a region on each member.

@since GemFire 8.0
geode-gfsh/src/main/java/org/apache/geode/management/internal/cli/functions/RegionAlterFunction.java