Package me.ahoo.cosid
Interface Decorator<D>
- All Known Subinterfaces:
IdGeneratorDecorator
- All Known Implementing Classes:
ClockSyncCosIdGenerator
,ClockSyncSnowflakeId
,DatePrefixIdConverter
,DefaultSnowflakeFriendlyId
,GroupedPrefixIdConverter
,LazyIdGenerator
,MockIdGenerator
,PrefixIdConverter
,StringIdGeneratorDecorator
,StringSegmentId
,StringSnowflakeId
,SuffixIdConverter
,UncertaintyIdGenerator
@ThreadSafe
public interface Decorator<D>
Decorator.
-
Method Summary
-
Method Details
-
getActual
Get decorator actual id generator.- Returns:
- actual id generator
-
getActual
static <D> D getActual(D any)
-