Class CachedOrgGroupIds
java.lang.Object
org.keycloak.models.cache.infinispan.entities.AbstractRevisioned
org.keycloak.models.cache.infinispan.organization.CachedOrgGroupIds
- All Implemented Interfaces:
CachedObject,InRealm,Revisioned
Cached entry that stores organization group IDs resulting from queries.
This is a lightweight cache entry that only stores group IDs, not the full group objects.
Full groups are retrieved from the realm's group cache when needed.
-
Constructor Summary
ConstructorsConstructorDescriptionCachedOrgGroupIds(Long revision, String id, RealmModel realm, Stream<GroupModel> groups) Constructor for caching a stream of group models. -
Method Summary
Methods inherited from class org.keycloak.models.cache.infinispan.entities.AbstractRevisioned
getCacheTimestamp, getId, getRevision, setRevisionMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.keycloak.models.cache.infinispan.entities.Revisioned
getId, getRevision, setRevision
-
Constructor Details
-
CachedOrgGroupIds
Constructor for caching a stream of group models.- Parameters:
revision- the cache revision numberid- the cache keyrealm- the realmgroups- stream of groups to cache (will be consumed and converted to IDs)
-
-
Method Details