Class CacheInitializer

java.lang.Object
org.keycloak.models.sessions.infinispan.initializer.CacheInitializer
Direct Known Subclasses:
BaseCacheInitializer

public abstract class CacheInitializer extends Object
Author:
Marek Posolda
  • Constructor Details

    • CacheInitializer

      public CacheInitializer()
  • Method Details

    • loadSessions

      public void loadSessions()
    • isFinished

      protected abstract boolean isFinished()
    • isCoordinator

      protected abstract boolean isCoordinator()
    • getProgressIndicator

      protected abstract int getProgressIndicator()
      Returns an integer which captures current progress. If there is a progress in loading, this indicator must be different most of the time so that it does not hit 30-seconds limit.
      Returns:
      See Also:
      • #stalledTimeoutInSeconds
    • startLoading

      protected abstract void startLoading()
      Just coordinator will run this
    • getStalledTimeoutInSeconds

      protected abstract int getStalledTimeoutInSeconds()