test_class.file: model/infinispan/src/test/java/org/keycloak/models/sessions/infinispan/initializer/InitializerStateTest.java
test_class.identifier: InitializerStateTest
test_case.body: @Test
      public void testOfflineLoaderContext() {
          OfflinePersistentLoaderContext ctx = new OfflinePersistentLoaderContext(28, 5);
          Assert.assertEquals(ctx.getSegmentsCount(), 6);
  
          ctx = new OfflinePersistentLoaderContext(19, 5);
          Assert.assertEquals(ctx.getSegmentsCount(), 4);
  
          ctx = new OfflinePersistentLoaderContext(20, 5);
          Assert.assertEquals(ctx.getSegmentsCount(), 4);
  
          ctx = new OfflinePersistentLoaderContext(21, 5);
          Assert.assertEquals(ctx.getSegmentsCount(), 5);
      }
test_case.class_method_signature: InitializerStateTest.testOfflineLoaderContext()
test_case.full_signature: @Test public void testOfflineLoaderContext()
test_case.identifier: testOfflineLoaderContext
test_case.invocations: assertEquals getSegmentsCount assertEquals getSegmentsCount assertEquals getSegmentsCount assertEquals getSegmentsCount
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testOfflineLoaderContext()
focal_class.declarator: log = Logger.getLogger(InitializerState.class)
focal_class.modifier: private static final
focal_class.original_string: private static final Logger log = Logger.getLogger(InitializerState.class);
focal_class.type: Logger
focal_class.var_name: log
focal_class.declarator: segmentsCount
focal_class.modifier: private final
focal_class.original_string: private final int segmentsCount;
focal_class.type: int
focal_class.var_name: segmentsCount
focal_class.declarator: segments
focal_class.modifier: private final
focal_class.original_string: private final BitSet segments;
focal_class.type: BitSet
focal_class.var_name: segments
focal_class.file: model/infinispan/src/main/java/org/keycloak/models/sessions/infinispan/initializer/InitializerState.java
focal_class.identifier: InitializerState
focal_class.class_method_signature: InitializerState.InitializerState(int segmentsCount)
focal_class.full_signature: public  InitializerState(int segmentsCount)
focal_class.identifier: InitializerState
focal_class.modifiers: public
focal_class.parameters: (int segmentsCount)
focal_class.signature:  InitializerState(int segmentsCount)
focal_class.class_method_signature: InitializerState.InitializerState(String realmId, int segmentsCount, BitSet segments)
focal_class.full_signature: private  InitializerState(String realmId, int segmentsCount, BitSet segments)
focal_class.identifier: InitializerState
focal_class.modifiers: private
focal_class.parameters: (String realmId, int segmentsCount, BitSet segments)
focal_class.signature:  InitializerState(String realmId, int segmentsCount, BitSet segments)
focal_class.class_method_signature: InitializerState.getSegmentsCount()
focal_class.full_signature: public int getSegmentsCount()
focal_class.identifier: getSegmentsCount
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int getSegmentsCount()
focal_class.class_method_signature: InitializerState.isFinished()
focal_class.full_signature: public boolean isFinished()
focal_class.identifier: isFinished
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isFinished()
focal_class.class_method_signature: InitializerState.getSegmentsToLoad(int segmentToLoad, int maxSegmentCount)
focal_class.full_signature: public List<Integer> getSegmentsToLoad(int segmentToLoad, int maxSegmentCount)
focal_class.identifier: getSegmentsToLoad
focal_class.modifiers: public
focal_class.parameters: (int segmentToLoad, int maxSegmentCount)
focal_class.return: List<Integer>
focal_class.signature: List<Integer> getSegmentsToLoad(int segmentToLoad, int maxSegmentCount)
focal_class.class_method_signature: InitializerState.markSegmentFinished(int index)
focal_class.full_signature: public void markSegmentFinished(int index)
focal_class.identifier: markSegmentFinished
focal_class.modifiers: public
focal_class.parameters: (int index)
focal_class.return: void
focal_class.signature: void markSegmentFinished(int index)
focal_class.class_method_signature: InitializerState.toString()
focal_class.full_signature: @Override public String toString()
focal_class.identifier: toString
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String toString()
focal_class.class_method_signature: InitializerState.hashCode()
focal_class.full_signature: @Override public int hashCode()
focal_class.identifier: hashCode
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int hashCode()
focal_class.class_method_signature: InitializerState.equals(Object obj)
focal_class.full_signature: @Override public boolean equals(Object obj)
focal_class.identifier: equals
focal_class.modifiers: @Override public
focal_class.parameters: (Object obj)
focal_class.return: boolean
focal_class.signature: boolean equals(Object obj)
focal_class.superclass: extends SessionEntity
focal_method.body: public int getSegmentsCount() {
          return segmentsCount;
      }
focal_method.class_method_signature: InitializerState.getSegmentsCount()
focal_method.full_signature: public int getSegmentsCount()
focal_method.identifier: getSegmentsCount
focal_method.modifiers: public
focal_method.parameters: ()
focal_method.return: int
focal_method.signature: int getSegmentsCount()