thrownewRuntimeException(String.format("epoch dose not match %d != %d in %s",tmpMaxEpochAndNum.getKey(),mappingDetail.getEpoch(),mappingDetail.getBname()));
thrownewRuntimeException(String.format("epoch dose not match %d != %d in %s",maxEpochAndNum.getKey(),mappingDetail.getEpoch(),mappingDetail.getBname()));
thrownewRuntimeException(String.format("total queue number dose not match %d != %d in %s",tmpMaxEpochAndNum.getValue(),mappingDetail.getTotalQueues(),mappingDetail.getBname()));
thrownewRuntimeException(String.format("The total queue number in config dose not match the real hosted queues %d != %d",maxEpochAndNum.getValue(),globalIdMap.size()));
}
for(inti=0;i<maxEpochAndNum.getValue();i++){
if(!globalIdMap.containsKey(i)){
thrownewRuntimeException(String.format("The queue number %s is not in globalIdMap",i));
thrownewRuntimeException(String.format("total queue number dose not match %d != %d in %s",maxEpochAndNum.getValue(),mappingDetail.getTotalQueues(),mappingDetail.getBname()));
thrownewRuntimeException(String.format("epoch dose not match %d != %d in %s",tmpMaxEpochAndNum.getKey(),mappingDetail.getEpoch(),mappingDetail.getBname()));
thrownewRuntimeException(String.format("total queue number dose not match %d != %d in %s",tmpMaxEpochAndNum.getValue(),mappingDetail.getTotalQueues(),mappingDetail.getBname()));
thrownewRuntimeException(String.format("The total queue number in config dose not match the real hosted queues %d != %d",maxEpochAndNum.getValue(),globalIdMap.size()));
thrownewRuntimeException(String.format("epoch dose not match %d != %d in %s",maxEpochAndNum.getKey(),mappingDetail.getEpoch(),mappingDetail.getBname()));
}
for(inti=0;i<maxEpochAndNum.getValue();i++){
if(!globalIdMap.containsKey(i)){
thrownewRuntimeException(String.format("The queue number %s is not in globalIdMap",i));
thrownewRuntimeException(String.format("total queue number dose not match %d != %d in %s",maxEpochAndNum.getValue(),mappingDetail.getTotalQueues(),mappingDetail.getBname()));