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 Details

    • AbstractUserSessionClusterListener

      public AbstractUserSessionClusterListener(KeycloakSessionFactory sessionFactory, Class<T> providerClazz)
  • Method Details

    • eventReceived

      public void eventReceived(ClusterEvent event)
      Description copied from interface: ClusterListener
      Registered task to be executed on all cluster nodes once it's notified from cache.
      Specified by:
      eventReceived in interface ClusterListener
      Parameters:
      event - value of notification (Object added into the cache)
    • eventReceived

      protected abstract void eventReceived(KeycloakSession session, T provider, SE sessionEvent)