| Modifier and Type | Method and Description |
|---|---|
default Integer |
apply(String processingGroup)
Returns the maximum amount of segments to claim for the given
processingGroup. |
int |
getMaxSegments(String processingGroup)
Returns the maximum amount of segments to claim for the given
processingGroup. |
static MaxSegmentProvider |
maxShort()
A
MaxSegmentProvider that always returns Short.MAX_VALUE. |
int getMaxSegments(String processingGroup)
processingGroup.processingGroup - The name of a processing group for which to provide the maximum amount of segments it can
claim.processingGroup.default Integer apply(String processingGroup)
processingGroup.static MaxSegmentProvider maxShort()
MaxSegmentProvider that always returns Short.MAX_VALUE.MaxSegmentProvider that always returns Short.MAX_VALUE.Copyright © 2010–2025. All rights reserved.