Class SessionLoader.LoaderContext

java.lang.Object
org.keycloak.models.sessions.infinispan.initializer.SessionLoader.LoaderContext
Direct Known Subclasses:
OfflinePersistentLoaderContext, RemoteCacheSessionsLoaderContext
Enclosing interface:
SessionLoader<LOADER_CONTEXT extends SessionLoader.LoaderContext,WORKER_CONTEXT extends SessionLoader.WorkerContext,WORKER_RESULT extends SessionLoader.WorkerResult>

public static class SessionLoader.LoaderContext extends Object
Object, which contains some context data to be used by SessionLoader implementation. It's computed just once and then passed to each SessionLoader.
  • Constructor Details

    • LoaderContext

      public LoaderContext(int segmentsCount)
  • Method Details

    • getSegmentsCount

      public int getSegmentsCount()