Package me.ahoo.cosid
Interface StringIdGenerator
- All Known Subinterfaces:
CosIdGenerator
,IdGenerator
,IdGeneratorDecorator
,SegmentId
,SnowflakeFriendlyId
,SnowflakeId
- All Known Implementing Classes:
AbstractSnowflakeId
,AtomicLongGenerator
,ClockSyncCosIdGenerator
,ClockSyncSnowflakeId
,DefaultSegmentId
,DefaultSnowflakeFriendlyId
,IntegerIdGenerator
,LazyIdGenerator
,MillisecondSnowflakeId
,MockIdGenerator
,Radix36CosIdGenerator
,Radix62CosIdGenerator
,RadixCosIdGenerator
,SecondSnowflakeId
,SegmentChainId
,StringIdGeneratorDecorator
,StringSegmentId
,StringSnowflakeId
,UncertaintyIdGenerator
,UuidGenerator
@ThreadSafe
public interface StringIdGenerator
String type ID generator.
-
Method Summary
-
Method Details
-
generateAsString
Generate string type distributed ID.- Returns:
- string type distributed ID
-