Class SegmentIdProperties
java.lang.Object
me.ahoo.cosid.spring.boot.starter.segment.SegmentIdProperties
SegmentId Properties.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
static class
static enum
static class
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetChain()
getMode()
getShare()
long
getTtl()
boolean
void
void
setDistributor
(SegmentIdProperties.Distributor distributor) void
setEnabled
(boolean enabled) void
void
setProvider
(Map<String, SegmentIdProperties.IdDefinition> provider) void
void
setTtl
(long ttl)
-
Field Details
-
PREFIX
- See Also:
-
-
Constructor Details
-
SegmentIdProperties
public SegmentIdProperties()
-
-
Method Details
-
isEnabled
public boolean isEnabled() -
setEnabled
public void setEnabled(boolean enabled) -
getMode
-
setMode
-
getTtl
public long getTtl() -
setTtl
public void setTtl(long ttl) -
getDistributor
-
setDistributor
-
getChain
-
setChain
-
getProvider
-
setProvider
-