Class CacheInitializer

Direct Known Subclasses:
BaseCacheInitializer, DBLockBasedCacheInitializer

public abstract class CacheInitializer extends Object
Marek Posolda
  • Constructor Details

    • CacheInitializer

      public CacheInitializer()
  • Method Details

    • initCache

      public void initCache()
    • 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.
      See Also:
      • #stalledTimeoutInSeconds
    • startLoading

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

      protected abstract int getStalledTimeoutInSeconds()