protected long getNextValue() {
        if (this.count.compareAndSet(Long.MAX_VALUE, 0)) {
            return Long.MAX_VALUE;
        }
        return this.count.getAndIncrement();
    }
Gets the next value.

@return the next value. If the count has reached {@link Long#MAX_VALUE},
then {@link Long#MAX_VALUE} is returned. Otherwise, the next increment.
core/cas-server-core-util-api/src/main/java/org/apereo/cas/util/gen/DefaultLongNumericGenerator.java