Class CacheInitializer
java.lang.Object
org.keycloak.models.sessions.infinispan.initializer.CacheInitializer
- Direct Known Subclasses:
BaseCacheInitializer
- Author:
- Marek Posolda
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected abstract int
Returns an integer which captures current progress.protected abstract int
protected abstract boolean
protected abstract boolean
void
protected abstract void
Just coordinator will run this
-
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()
-