private void createDistributedRegion(List vmList,int startIndexForRegion,int endIndexForRegion,Scope scope,boolean firstCreationFlag,boolean multipleVMFlag){
  Iterator nodeIterator=vmList.iterator();
  while (nodeIterator.hasNext()) {
    VM vm=(VM)nodeIterator.next();
    vm.invoke(createMultipleDistributedlRegion(prPrefix,startIndexForRegion,endIndexForRegion,scope,firstCreationFlag,multipleVMFlag));
  }
}

private void createDistributedRegion ( List vmList , int startIndexForRegion , int endIndexForRegion , Scope scope , boolean firstCreationFlag , boolean multipleVMFlag ) { Iterator nodeIterator = vmList . iterator ( ) ; while ( nodeIterator . hasNext ( ) ) { VM vm = ( VM ) nodeIterator . next ( ) ; vm . invoke ( createMultipleDistributedlRegion ( prPrefix , startIndexForRegion , endIndexForRegion , scope , firstCreationFlag , multipleVMFlag ) ) ; } }
this function createas multiple partition regions on nodes specified in the vmlist
