Class NumericBucketContentFactory
java.lang.Object
com.evolveum.midpoint.repo.common.activity.run.buckets.BaseBucketContentFactory<NumericWorkSegmentationType>
com.evolveum.midpoint.repo.common.activity.run.buckets.segmentation.NumericBucketContentFactory
- All Implemented Interfaces:
BucketContentFactory
public class NumericBucketContentFactory
extends BaseBucketContentFactory<NumericWorkSegmentationType>
Implements work state management strategy based on numeric identifier intervals.
-
Field Summary
Fields inherited from class com.evolveum.midpoint.repo.common.activity.run.buckets.BaseBucketContentFactory
prismContext, segmentationConfig
-
Method Summary
Modifier and TypeMethodDescriptioncreateNextBucketContent
(AbstractWorkBucketContentType lastBucketContent, Integer lastBucketSequentialNumber) Creates a content for the next bucket in a sequence.Estimates total number of buckets.
-
Method Details
-
createNextBucketContent
public NumericIntervalWorkBucketContentType createNextBucketContent(AbstractWorkBucketContentType lastBucketContent, Integer lastBucketSequentialNumber) Description copied from interface:BucketContentFactory
Creates a content for the next bucket in a sequence.- Returns:
- null if there is no next bucket
-
estimateNumberOfBuckets
Description copied from interface:BucketContentFactory
Estimates total number of buckets.- Returns:
- null if the number cannot be determined
-