void scheduleCompaction() {
    if (isCompactionEnabled() && !isOfflineCompacting()) {
      oplogCompactor.scheduleIfNeeded(getOplogToBeCompacted());
    }
  }
@return boolean indicating whether the disk region compaction is on or not
geode-core/src/main/java/org/apache/geode/internal/cache/DiskStoreImpl.java