IdHelper
Package: velox.api.layer1.utils
Type: Class
Inheritance: java.lang.Object รขโ โ velox.api.layer1.utils.IdHelper
Descriptionโ
Generates ID's that are trying to be globally unique.
Constructorsโ
IdHelperโ
public IdHelper()
Methodsโ
generateShortUuidโ
public static String generateShortUuid()
Generate UUID that's repackaged as BASE64 string.
generateLongUniqueIdโ
public static long generateLongUniqueId()
Generate a 64bit ID that is guaranteed to be unique within a session and is very likely to be unique between sessions too (ID counter starts at random point determined on startup and then incremented by 1 on every call)