org.keycloak.models.sessions.infinispan.initializer

## Class OfflineUserSessionLoader

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

- All Implemented Interfaces:
    Serializable, SessionLoader

      public class OfflineUserSessionLoader
      extends Object
      implements SessionLoader

  Author:
    Marek Posolda
  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `OfflineUserSessionLoader()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `int` | `getSessionsCount(KeycloakSession session)`
    `void` | `init(KeycloakSession session)`
    `boolean` | `loadSessions(KeycloakSession session, int first, int max)`

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

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

- - ### Constructor Detail

    - #### OfflineUserSessionLoader

          public OfflineUserSessionLoader()

  - ### Method Detail

    - #### init

          public void init(KeycloakSession session)

      Specified by:
        `init` in interface `SessionLoader`

    - #### getSessionsCount

          public int getSessionsCount(KeycloakSession session)

      Specified by:
        `getSessionsCount` in interface `SessionLoader`

    - #### loadSessions

          public boolean loadSessions(KeycloakSession session,
                                      int first,
                                      int max)

      Specified by:
        `loadSessions` in interface `SessionLoader`

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