@Override
    public void invalidateAllCaches() {
        for (LPSubjectCollection collection : this.collections.values()) {
            for (LPSubject subject : collection.getLoadedSubjects()) {
                subject.invalidateCaches();
            }
        }
    }
The loaded collections in this service
sponge/src/main/java/me/lucko/luckperms/sponge/service/LuckPermsService.java