Class SegmentIdProperties.IdDefinition
java.lang.Object
me.ahoo.cosid.spring.boot.starter.segment.SegmentIdProperties.IdDefinition
- Direct Known Subclasses:
SegmentIdProperties.ShardIdDefinition
- Enclosing class:
- SegmentIdProperties
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static enum
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetChain()
getGroup()
getMode()
long
long
getStep()
getTtl()
void
void
setConverter
(IdConverterDefinition converter) void
void
void
setNamespace
(String namespace) void
setOffset
(long offset) void
setStep
(long step) void
-
Constructor Details
-
IdDefinition
public IdDefinition()
-
-
Method Details
-
getNamespace
-
setNamespace
-
getMode
-
setMode
-
getOffset
public long getOffset() -
setOffset
public void setOffset(long offset) -
getStep
public long getStep() -
setStep
public void setStep(long step) -
getTtl
-
setTtl
-
getChain
-
setChain
-
getConverter
-
setConverter
-
getGroup
-
setGroup
-