public static long getSequenceId() {
    ThreadAndSequenceIDWrapper wrapper = threadIDLocal.get();
    return wrapper.sequenceID;
  }
Returns the next reservable sequence id used by the calling thread for its event ids. Note that
the returned id is not yet reserved by the calling thread.

@since GemFire 5.7
geode-core/src/main/java/org/apache/geode/internal/cache/EventID.java