Class AbstractUserSessionClusterListener<SE extends SessionClusterEvent,​T extends Provider>

    • Constructor Detail

      • AbstractUserSessionClusterListener

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

      • 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
        event - value of notification (Object added into the cache)
      • eventReceived

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