Serialized Form
-
Package icu.congee.id.generator.cuid
-
Class icu.congee.id.generator.cuid.CUID
class CUID extends Object implements Serializable- serialVersionUID:
- -2441709761088574861L
-
Serialized Fields
-
value
String value
CUID internal value holder.
-
-
Exception Class icu.congee.id.generator.cuid.CUIDGenerationException
class CUIDGenerationException extends RuntimeException implements Serializable
-
-
Package icu.congee.id.generator.ksuid
-
Class icu.congee.id.generator.ksuid.Ksuid
class Ksuid extends Object implements Serializable- serialVersionUID:
- 3045351825700035803L
-
Serialized Fields
-
payload
byte[] payload
The random bytes. -
seconds
int seconds
The current time.
-
-
-
Package icu.congee.id.generator.objectid
-
Class icu.congee.id.generator.objectid.ObjectId
class ObjectId extends Object implements Serializable- serialVersionUID:
- 1L
-
Serialization Methods
-
readObject
Prevent normal deserialization.See https://docs.oracle.com/javase/6/docs/platform/serialization/spec/input.html
- Parameters:
stream- the stream- Throws:
InvalidObjectException- in all cases
-
writeReplace
Write the replacement object.See https://docs.oracle.com/javase/6/docs/platform/serialization/spec/output.html
-
-
Serialized Fields
-
nonce
long nonce
The final 8 bytes of the ObjectID are 5 bytes probabilistically unique to the machine and process, followed by a 3 byte incrementing counter initialized to a random value. -
timestamp
int timestamp
The timestamp
-
-
-
Package icu.congee.id.generator.sonyflake
-
Exception Class icu.congee.id.generator.sonyflake.Sonyflake.InvalidMachineIDException
class InvalidMachineIDException extends Exception implements Serializable -
Exception Class icu.congee.id.generator.sonyflake.Sonyflake.NoPrivateAddressException
class NoPrivateAddressException extends Exception implements Serializable -
Exception Class icu.congee.id.generator.sonyflake.Sonyflake.OverTimeLimitException
class OverTimeLimitException extends Exception implements Serializable -
Exception Class icu.congee.id.generator.sonyflake.Sonyflake.StartTimeAheadException
class StartTimeAheadException extends Exception implements Serializable
-