Class AbstractUserSessionClusterListener<SE extends SessionClusterEvent,T extends Provider>
java.lang.Object
org.keycloak.models.sessions.infinispan.events.AbstractUserSessionClusterListener<SE,T>
- All Implemented Interfaces:
ClusterListener
public abstract class AbstractUserSessionClusterListener<SE extends SessionClusterEvent,T extends Provider>
extends Object
implements ClusterListener
- Author:
- Marek Posolda
-
Constructor Summary
ConstructorDescriptionAbstractUserSessionClusterListener
(KeycloakSessionFactory sessionFactory, Class<T> providerClazz) -
Method Summary
Modifier and TypeMethodDescriptionvoid
eventReceived
(ClusterEvent event) Registered task to be executed on all cluster nodes once it's notified from cache.protected abstract void
eventReceived
(KeycloakSession session, T provider, SE sessionEvent)
-
Constructor Details
-
AbstractUserSessionClusterListener
public AbstractUserSessionClusterListener(KeycloakSessionFactory sessionFactory, Class<T> providerClazz)
-
-
Method Details
-
eventReceived
Description copied from interface:ClusterListener
Registered task to be executed on all cluster nodes once it's notified from cache.- Specified by:
eventReceived
in interfaceClusterListener
- Parameters:
event
- value of notification (Object added into the cache)
-
eventReceived
-