private void ensureState(State state) {
        if (this.state.get() != state) {
            throw new IllegalStateException("State must be " + state + ", but is actually " + this.state.get());
        }
    }
Marks that the process of gaining (accumulating) new data is complete.
common/src/main/java/me/lucko/luckperms/common/cacheddata/type/MetaAccumulator.java