keycloak
|
公開メンバ関数 | |
DBLockBasedCacheInitializer (KeycloakSession session, CacheInitializer delegate) | |
void | initCache () |
void | loadSessions () |
限定公開メンバ関数 | |
boolean | isFinished () |
boolean | isCoordinator () |
void | startLoading () |
非公開変数類 | |
final KeycloakSession | session |
final CacheInitializer | delegate |
静的非公開変数類 | |
static final Logger | log = Logger.getLogger(DBLockBasedCacheInitializer.class) |
Encapsulates preloading of sessions within the DB Lock. This DB-aware lock ensures that "startLoading" is done on single DC and the other DCs need to wait.
|
inline |
|
inline |
|
inlineprotected |
|
inlineprotected |
|
inlineinherited |
|
inlineprotected |
Just coordinator will run this. And there is DB-lock, so the delegate.startLoading() will be permitted just by the single DC
|
private |
|
staticprivate |
|
private |