private void basicDestroy(LocalRegion region,DiskRegion dr){
  if (dr.isBackup()) {
    if (region != null) {
      region.closeEntries();
    }
    PersistentOplogSet oplogSet=getPersistentOplogSet(dr);
    oplogSet.basicDestroy(dr);
  }
 else {
    dr.freeAllEntriesOnDisk(region);
    if (region != null) {
      region.closeEntries();
    }
  }
}

private void basicDestroy ( LocalRegion region , DiskRegion dr ) { if ( dr . isBackup ( ) ) { if ( region != null ) { region . closeEntries ( ) ; } PersistentOplogSet oplogSet = getPersistentOplogSet ( dr ) ; oplogSet . basicDestroy ( dr ) ; } else { dr . freeAllEntriesOnDisk ( region ) ; if ( region != null ) { region . closeEntries ( ) ; } } }
destroy the given region
