public Set<String> gatherMatchingOplogFiles(Set<String> oplogFileNames) {
    Set<String> matchingFiles = new HashSet<>();

    // CRF match?
    if ((null != crf.f) && crf.f.exists()
        && oplogFileNames.contains(crf.f.getName())) {
      matchingFiles.add(crf.f.getName());
    }

    // DRF match?
    if ((null != drf.f) && drf.f.exists()
        && oplogFileNames.contains(drf.f.getName())) {
      matchingFiles.add(drf.f.getName());
    }

    // KRF match?
    if (getParent().getDiskInitFile().hasKrf(oplogId)) {
      File krfFile = getKrfFile();
      if (krfFile.exists() && oplogFileNames.contains(krfFile.getName())) {
        matchingFiles.add(krfFile.getName());
      }
    }

    return matchingFiles;
  }
Given a set of Oplog file names return a Set of the oplog files that match those names that are
managed by this Oplog.

@param oplogFileNames a Set of operation log file names.
geode-core/src/main/java/org/apache/geode/internal/cache/Oplog.java