Class SessionLoader.LoaderContext

java.lang.Object
org.keycloak.models.sessions.infinispan.initializer.SessionLoader.LoaderContext
All Implemented Interfaces:
Serializable
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 implements Serializable
Object, which contains some context data to be used by SessionLoader implementation. It's computed just once and then passed to each SessionLoader. It needs to be Serializable
See Also:
  • Constructor Details

    • LoaderContext

      public LoaderContext(int segmentsCount)
  • Method Details

    • getSegmentsCount

      public int getSegmentsCount()