Class CrossDCLastSessionRefreshStore

java.lang.Object
org.keycloak.models.sessions.infinispan.changes.sessions.AbstractLastSessionRefreshStore
org.keycloak.models.sessions.infinispan.changes.sessions.CrossDCLastSessionRefreshStore

public class CrossDCLastSessionRefreshStore extends AbstractLastSessionRefreshStore
Cross-DC based CrossDCLastSessionRefreshStore Tracks the queue of lastSessionRefreshes, which were updated on this host. Those will be sent to the second DC in bulk, so second DC can update lastSessionRefreshes on it's side. Message is sent either periodically or if there are lots of stored lastSessionRefreshes.
Author:
Marek Posolda
  • Field Details

    • logger

      protected static final org.jboss.logging.Logger logger
  • Constructor Details

    • CrossDCLastSessionRefreshStore

      protected CrossDCLastSessionRefreshStore(int maxIntervalBetweenMessagesSeconds, int maxCount, String eventKey)
  • Method Details