private synchronized void addToBeCompacted() {
    if (added) {
      return;
    }
    added = true;
    getOplogSet().addToBeCompacted(this);
    if (logger.isDebugEnabled()) {
      logger.debug("Oplog::switchOpLog: Added the Oplog = {} for compacting.", oplogId);
    }
  }
Return true if this oplog is the oldest one of those ready to compact
geode-core/src/main/java/org/apache/geode/internal/cache/Oplog.java