public static synchronized long createId() {
    return ID_SEQUENCE.incrementAndGet();
  }
The IdentifierUtils class is a utility class for working with Objects having identifiers
<p>

@since GemFire 8.0
geode-web-api/src/main/java/org/apache/geode/rest/internal/web/util/IdentifiableUtils.java