@SerializeWith(value=InitializerState.ExternalizerImpl.class) public class InitializerState extends SessionEntity
InfinispanCacheInitializer
).Modifier and Type | Class and Description |
---|---|
static class |
InitializerState.ExternalizerImpl |
Constructor and Description |
---|
InitializerState(int segmentsCount) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
int |
getSegmentsCount()
Getter for the segments count.
|
List<Integer> |
getSegmentsToLoad(int segmentToLoad,
int maxSegmentCount)
Return next un-finished segments in the next row of segments.
|
int |
hashCode() |
boolean |
isFinished()
Return true just if computation is entirely finished (all segments are true)
|
void |
markSegmentFinished(int index) |
String |
toString() |
getRealmId, mergeRemoteEntityWithLocalEntity, setRealmId
public int getSegmentsCount()
public boolean isFinished()
public List<Integer> getSegmentsToLoad(int segmentToLoad, int maxSegmentCount)
segmentToLoad
- The segment we are loadingmaxSegmentCount
- The max segment to loadpublic void markSegmentFinished(int index)
public int hashCode()
hashCode
in class SessionEntity
public boolean equals(Object obj)
equals
in class SessionEntity
Copyright © 2021 JBoss by Red Hat. All rights reserved.