Class GroupedIdSegmentDistributorSpec
java.lang.Object
me.ahoo.cosid.test.segment.distributor.IdSegmentDistributorSpec
me.ahoo.cosid.test.segment.distributor.GroupedIdSegmentDistributorSpec
-
Field Summary
Fields inherited from class me.ahoo.cosid.test.segment.distributor.IdSegmentDistributorSpec
TEST_OFFSET, TEST_STEP -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected IdSegmentDistributorFactoryfactory()voidgetGroup()protected GroupBySuppliervoidvoidvoidprotected <T extends IdSegmentDistributor>
voidsetMaxIdBack(T distributor, long maxId) Methods inherited from class me.ahoo.cosid.test.segment.distributor.IdSegmentDistributorSpec
generateConcurrent, generateConcurrentOfChain, generateMultiInstanceConcurrent, getFactory, getName, getNamespace, getNamespacedName, getStep, getStepWithSegments, nextIdSegmentWithSegmentsAndTtl, nextIdSegmentWithTtl, nextMaxId, nextMaxIdConcurrent, nextMaxIdWithStep
-
Constructor Details
-
GroupedIdSegmentDistributorSpec
public GroupedIdSegmentDistributorSpec()
-
-
Method Details
-
groupedSupplier
-
nextMaxIdWhenBack
public void nextMaxIdWhenBack()- Overrides:
nextMaxIdWhenBackin classIdSegmentDistributorSpec
-
setMaxIdBack
- Specified by:
setMaxIdBackin classIdSegmentDistributorSpec
-
factory
- Overrides:
factoryin classIdSegmentDistributorSpec
-
getGroup
@Test public void getGroup()- Overrides:
getGroupin classIdSegmentDistributorSpec
-
nextIdSegment
@Test public void nextIdSegment()- Overrides:
nextIdSegmentin classIdSegmentDistributorSpec
-
nextIdSegmentChain
@Test public void nextIdSegmentChain()- Overrides:
nextIdSegmentChainin classIdSegmentDistributorSpec
-