Package me.ahoo.cosid.snowflake
Interface SnowflakeFriendlyId
- All Superinterfaces:
IdGenerator,SnowflakeId,Statistical,StringIdGenerator
- All Known Implementing Classes:
DefaultSnowflakeFriendlyId
Snowflake FriendlyId.
-
Field Summary
Fields inherited from interface me.ahoo.cosid.snowflake.SnowflakeId
TOTAL_BIT -
Method Summary
Modifier and TypeMethodDescriptiondefault SnowflakeIdStatedefault SnowflakeIdStatefriendlyId(long id) default SnowflakeIdStateofFriendlyId(String friendlyId) Methods inherited from interface me.ahoo.cosid.IdGenerator
generate, generateAsString, idConverterMethods inherited from interface me.ahoo.cosid.snowflake.SnowflakeId
getEpoch, getLastTimestamp, getMachineBit, getMachineId, getMaxMachineId, getMaxSequence, getMaxTimestamp, getSequenceBit, getTimestampBit, isSafeJavascript, stat
-
Method Details
-
getParser
-
friendlyId
-
friendlyId
-
ofFriendlyId
-