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
-
Method Summary
Modifier and TypeMethodDescriptionprotected IdSegmentDistributorFactory
factory()
void
getGroup()
protected GroupBySupplier
void
void
void
protected <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:
nextMaxIdWhenBack
in classIdSegmentDistributorSpec
-
setMaxIdBack
- Specified by:
setMaxIdBack
in classIdSegmentDistributorSpec
-
factory
- Overrides:
factory
in classIdSegmentDistributorSpec
-
getGroup
@Test public void getGroup()- Overrides:
getGroup
in classIdSegmentDistributorSpec
-
nextIdSegment
@Test public void nextIdSegment()- Overrides:
nextIdSegment
in classIdSegmentDistributorSpec
-
nextIdSegmentChain
@Test public void nextIdSegmentChain()- Overrides:
nextIdSegmentChain
in classIdSegmentDistributorSpec
-