Class JpaChangesPerformer<K,V extends SessionEntity>
java.lang.Object
org.keycloak.models.sessions.infinispan.changes.JpaChangesPerformer<K,V>
- All Implemented Interfaces:
SessionChangesPerformer<K,
V>
public class JpaChangesPerformer<K,V extends SessionEntity>
extends Object
implements SessionChangesPerformer<K,V>
-
Constructor Summary
ConstructorDescriptionJpaChangesPerformer
(String cacheName, ArrayBlockingQueue<PersistentUpdate> batchingQueue) -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
applyChangesSynchronously
(KeycloakSession session) void
registerChange
(Map.Entry<K, SessionUpdatesList<V>> entry, MergedUpdate<V> merged) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.keycloak.models.sessions.infinispan.changes.SessionChangesPerformer
shouldConsumeChange
-
Constructor Details
-
JpaChangesPerformer
-
-
Method Details
-
registerChange
- Specified by:
registerChange
in interfaceSessionChangesPerformer<K,
V extends SessionEntity>
-
applyChanges
public void applyChanges()- Specified by:
applyChanges
in interfaceSessionChangesPerformer<K,
V extends SessionEntity>
-
applyChangesSynchronously
-