public static void removeFromDisk(DiskEntry entry, InternalRegion region, boolean isClear)
        throws RegionClearedException {
      DiskRegion dr = region.getDiskRegion();
      DiskId did = entry.getDiskId();
      Object syncObj = did;
      if (did == null) {
        syncObj = entry;
      }
      final AsyncDiskEntry asyncDiskEntry;
      if (syncObj == did) {
        dr.acquireReadLock();
      }
      try {
        synchronized (syncObj) {
          asyncDiskEntry = basicRemoveFromDisk(entry, region, isClear);
        }
      } finally {
        if (syncObj == did) {
          dr.releaseReadLock();
        }
      }
      if (asyncDiskEntry != null && did.isPendingAsync()) {
        // do this outside the sync
        scheduleAsyncWrite(asyncDiskEntry);
      }
    }
Removes the key/value pair in the given entry from disk

@throws RegionClearedException If the operation is aborted due to a clear
@see DiskRegion#remove(InternalRegion, DiskEntry, boolean, boolean)
geode-core/src/main/java/org/apache/geode/internal/cache/entries/DiskEntry.java