private boolean isCompactionPossible() {
    return getOplogSet().isCompactionPossible();
  }
Return true if it is possible that compaction of this oplog will be done.
geode-core/src/main/java/org/apache/geode/internal/cache/Oplog.java