org.keycloak.models.sessions.infinispan.initializer

## 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:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `LoaderContext(int segmentsCount)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `int` | `getSegmentsCount()`

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

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

- - ### Constructor Detail

    - #### LoaderContext

          public LoaderContext(int segmentsCount)

  - ### Method Detail

    - #### getSegmentsCount

          public int getSegmentsCount()

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