Offset getLastOffset() {
    Map.Entry<Offset, StoreKey> last = journal.lastEntry();
    return last == null ? null : last.getKey();
  }
@return the last/greatest offset in the journal or {@code null} if no such entry exists.
ambry-store/src/main/java/com/github/ambry/store/Journal.java