private void insufficientStores(Set allStores,Collection alreadyUsed,boolean onlyLog){
  final String regionStat=regionStatus(this.prRegion,allStores,alreadyUsed,onlyLog);
  final char newLine;
  if (onlyLog) {
    newLine=' ';
  }
 else {
    newLine='\n';
  }
  final StringId notEnoughValidNodes;
  if (alreadyUsed.isEmpty()) {
    notEnoughValidNodes=LocalizedStrings.PRHARRedundancyProvider_UNABLE_TO_FIND_ANY_MEMBERS_TO_HOST_A_BUCKET_IN_THE_PARTITIONED_REGION_0;
  }
 else {
    notEnoughValidNodes=LocalizedStrings.PRHARRedundancyProvider_CONFIGURED_REDUNDANCY_LEVEL_COULD_NOT_BE_SATISFIED_0;
  }
  final Object[] notEnoughValidNodesArgs=new Object[]{PRHARedundancyProvider.INSUFFICIENT_STORES_MSG,newLine + regionStat + newLine};
  if (onlyLog) {
    logger.warn(LocalizedMessage.create(notEnoughValidNodes,notEnoughValidNodesArgs));
  }
 else {
    throw new PartitionedRegionStorageException(notEnoughValidNodes.toLocalizedString(notEnoughValidNodesArgs));
  }
}

private void insufficientStores ( Set allStores , Collection alreadyUsed , boolean onlyLog ) { final String regionStat = regionStatus ( this . prRegion , allStores , alreadyUsed , onlyLog ) ; final char newLine ; if ( onlyLog ) { newLine = ' ' ; } else { newLine = '\n' ; } final StringId notEnoughValidNodes ; if ( alreadyUsed . isEmpty ( ) ) { notEnoughValidNodes = LocalizedStrings . PRHARRedundancyProvider_UNABLE_TO_FIND_ANY_MEMBERS_TO_HOST_A_BUCKET_IN_THE_PARTITIONED_REGION_0 ; } else { notEnoughValidNodes = LocalizedStrings . PRHARRedundancyProvider_CONFIGURED_REDUNDANCY_LEVEL_COULD_NOT_BE_SATISFIED_0 ; } final Object [ ] notEnoughValidNodesArgs = new Object [ ] { PRHARedundancyProvider . INSUFFICIENT_STORES_MSG , newLine + regionStat + newLine } ; if ( onlyLog ) { logger . warn ( LocalizedMessage . create ( notEnoughValidNodes , notEnoughValidNodesArgs ) ) ; } else { throw new PartitionedRegionStorageException ( notEnoughValidNodes . toLocalizedString ( notEnoughValidNodesArgs ) ) ; } }
indicate that we are unable to allocate sufficient stores and the timeout period has passed
