public boolean forceCompaction() {
    return diskStore.forceCompaction();
  }
Allows a disk compaction to be forced on this disk store. The compaction is done even if
automatic compaction is not configured. If the current active oplog has had data written to it
and it is compactable then an implicit call to forceRoll will be made so that the active oplog
can be compacted. This method will block until the compaction completes. return true if one or
more oplogs were compacted; False indicates that no oplogs were ready to be compacted or that a
compaction was already in progress.
geode-core/src/main/java/org/apache/geode/management/internal/beans/DiskStoreMBeanBridge.java