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 @NonNull SnowflakeIdStatedefault @NonNull SnowflakeIdStatefriendlyId(long id) @NonNull SnowflakeIdStateParserdefault @NonNull 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
@NonNull SnowflakeIdStateParser getParser() -
friendlyId
-
friendlyId
-
ofFriendlyId
-