@Override
  public Oplog getChild(long id) {
    Oplog localOplog = child;
    if (localOplog != null && id == localOplog.getOplogId()) {
      return localOplog;
    }

    synchronized (getOplogIdToOplog()) {
      Oplog result = getOplogIdToOplog().get(id);
      if (result == null) {
        result = inactiveOplogs.get(id);
      }
      return result;
    }
  }
Get the oplog specified

@param id int oplogId to be got
@return Oplogs the oplog corresponding to the oplodId, id
geode-core/src/main/java/org/apache/geode/internal/cache/PersistentOplogSet.java