org.keycloak.models.sessions.infinispan.initializer

## Class CacheInitializer

- java.lang.Object
- - org.keycloak.models.sessions.infinispan.initializer.CacheInitializer

- Direct Known Subclasses:
    BaseCacheInitializer, DBLockBasedCacheInitializer

      public abstract class CacheInitializer
      extends Object

  Author:
    Marek Posolda

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `CacheInitializer()`

  - ### Method Summary

    All Methods Instance Methods Abstract Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `initCache()`
    `protected abstract boolean` | `isCoordinator()`
    `protected abstract boolean` | `isFinished()`
    `void` | `loadSessions()`
    `protected abstract void` | `startLoading()` Just coordinator will run this

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### 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()

    - #### startLoading

          protected abstract void startLoading()

      Just coordinator will run this

Copyright © 2021 JBoss by Red Hat. All rights reserved.