org.keycloak.models.sessions.infinispan.initializer

## Class InitializerState

- java.lang.Object
- - org.keycloak.models.sessions.infinispan.entities.SessionEntity
  - - org.keycloak.models.sessions.infinispan.initializer.InitializerState

- All Implemented Interfaces:
    Serializable

      public class InitializerState
      extends SessionEntity

  Author:
    Marek Posolda
  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `InitializerState()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `List<Integer>` | `getUnfinishedSegments(int segmentCount)`
    `void` | `init(int sessionsCount, int sessionsPerSegment)`
    `boolean` | `isFinished()`
    `void` | `markSegmentFinished(int index)`
    `String` | `printState()`

    - ### Methods inherited from class org.keycloak.models.sessions.infinispan.entities.SessionEntity

      `equals, getId, getRealm, hashCode, setId, setRealm`

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

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

- - ### Constructor Detail

    - #### InitializerState

          public InitializerState()

  - ### Method Detail

    - #### init

          public void init(int sessionsCount,
                           int sessionsPerSegment)

    - #### isFinished

          public boolean isFinished()

    - #### getUnfinishedSegments

          public List<Integer> getUnfinishedSegments(int segmentCount)

    - #### markSegmentFinished

          public void markSegmentFinished(int index)

    - #### printState

          public String printState()

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