docs: private long clampToBounds(EventJournal<J> journal, int partitionId, long requestedSequence) {
          final long oldestSequence = journal.oldestSequence(namespace, partitionId);
          final long newestSequence = journal.newestSequence(namespace, partitionId);
  
          // fast forward if late and no store is configured
          if (requestedSequence < oldestSequence && !journal.isPersistenceEnabled(namespace, partitionId)) {
              return oldestSequence;
          }
  
          // jump back if too far in future
          if (requestedSequence > newestSequence + 1) {
              return newestSequence + 1;
          }
          return requestedSequence;
      }