Class CacheInitializer

    • Constructor Detail

      • CacheInitializer

        public CacheInitializer()
    • Method Detail

      • 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.
        Returns:
        See Also:
        #stalledTimeoutInSeconds
      • startLoading

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

        protected abstract int getStalledTimeoutInSeconds()