Class JpaChangesPerformer<K,V extends SessionEntity>
java.lang.Object
org.keycloak.models.sessions.infinispan.changes.JpaChangesPerformer<K,V>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()Clears any pending blocking changes.voidregisterChange(Map.Entry<K, SessionUpdatesList<V>> entry, MergedUpdate<V> merged) It queues a database write to be applied at a future invocation.voidwrite(KeycloakSession session) Applies all the pending write operation into the database.
-
Constructor Details
-
JpaChangesPerformer
-
-
Method Details
-
registerChange
It queues a database write to be applied at a future invocation.- Parameters:
entry- TheMap.Entrywith the ID and the session.merged- TheMergedUpdateto be applied to the existing session.
-
write
Applies all the pending write operation into the database.- Parameters:
session- TheKeycloakSessionto access the database.
-
clear
public void clear()Clears any pending blocking changes.
-