void closeRegion(DiskRegionView dr) { lock.lock(); try { this.parent.rmById(dr.getId()); // fix for bug 41334 PlaceHolderDiskRegion phdr = new PlaceHolderDiskRegion(dr); this.drMap.put(dr.getId(), phdr); this.drMapByName.put(dr.getName(), phdr); // @todo make sure we only have one instance of the region for this name } finally { lock.unlock(); } }
void closeRegion(DiskRegionView dr) { lock.lock(); try { this.parent.rmById(dr.getId()); // fix for bug 41334 PlaceHolderDiskRegion phdr = new PlaceHolderDiskRegion(dr); this.drMap.put(dr.getId(), phdr); this.drMapByName.put(dr.getName(), phdr); // @todo make sure we only have one instance of the region for this name } finally { lock.unlock(); } }
this.drMap.remove(dr.getId()); this.drMapByName.remove(dr.getName()); this.parent.rmById(dr.getId());
this.drMap.remove(dr.getId()); this.drMapByName.remove(dr.getName()); this.parent.rmById(dr.getId());
this.initFile.endDestroyRegion(dr); } else { rmById(dr.getId()); this.overflowMap.remove(dr);
this.initFile.endDestroyRegion(dr); } else { rmById(dr.getId()); this.overflowMap.remove(dr);