Class CrossDCLastSessionRefreshListener

java.lang.Object
org.keycloak.models.sessions.infinispan.changes.sessions.CrossDCLastSessionRefreshListener
All Implemented Interfaces:
ClusterListener

public class CrossDCLastSessionRefreshListener extends Object implements ClusterListener
Author:
Marek Posolda
  • Field Details

    • logger

      public static final org.jboss.logging.Logger logger
    • IGNORE_REMOTE_CACHE_UPDATE

      public static final String IGNORE_REMOTE_CACHE_UPDATE
      See Also:
  • Constructor Details

  • 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)
    • shouldUpdateLocalCache

      protected boolean shouldUpdateLocalCache(String key)